The BKPT statement interrupts the program (in interactive mode) or results in a wait state (batch mode).
Format
BKPT |
|
This statement has no operands.
BKPT can be replaced by a slash in column 1 only.
If another system command or a SPCCNTRL statement is entered after the slash, the command or statement is executed before the program is interrupted.
The BKPT statement and the slash should only be used in interactive mode. In batch mode, they initiate a wait state that only ends when a message is sent to the batch job using /INFORM-PROGRAM. Receiving this message corresponds to the system command EOF, which serves to terminate the reading of data from SYSDTA. This also terminates SPCCNTRL. A return to program mode is not possible.