With the %STOP command you direct AID to halt the program, to switch to command mode and to issue a STOP message. This message indicates the statement and the level of the call hierarchy where the program was interrupted.
If the command is entered at the terminal or from a procedure file, the program state is not altered, since the program is already in the STOP state. In this case you may employ the command to obtain localization information on the program interrupt point by referring to the STOP message.
Command | Operand |
%STOP |
If the %STOP command is contained in a command sequence or subcommand, any commands following it will not be executed.
If you set a dump file as a basic qualification with %BASE and then enter a %STOP command, AID outputs a STOP message containing localization information for the address at which the program was interrupted when the dump file was written.
If the program has been interrupted by pressing the K2 key, the program interrupt point need not necessarily be within the user program, it may also be located in the runtime system routines.
The %STOP command alters the program state.
A %STOP in a subcommand always refers to the loaded program.
Example
|