Cancel program run
Component: | BLSSERV |
Functional area: | Program control |
Domain: | PROGRAM |
Privileges: | STD-PROCESSING |
Function
The CANCEL-PROGRAM command cancels a program run and releases all the user memory reserved until that time by the dynamic binder loader DBL and the static loader ELDE.
If the program contains an STXIT routine for the ABEND event class, it is activated.
The status indicator of any program-monitoring job variable is set to ‘$A’.
Format
CANCEL-PROGRAM |
The CANCEL-PROGRAM command has no operands and is executed immediately.
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | Command executed | |
2 | 0 | BLS0554 | Warning: no program was loaded |
64 | CMD0216 | User has no authorization for the command | |
64 | BLS0553 | The loaded program may not be unloaded |