Suspend program to allow command input
| Component: | SYSFILE | 
| Functional area: | Program control | 
| Domain: | PROGRAM | 
| Privileges: | STD-PROCESSING | 
Function
The HOLD-PROGRAM command suspends a program waiting for input data and permits the input of commands. This is only possible within a procedure or a batch job. In an interactive dialog the command will be rejected.
The command RESUME-PROGRAM terminates command input and effects a return to program mode.
Format
| HOLD-PROGRAM | 
Return codes
| (SC2) | SC1 | Maincode | Meaning | 
|---|---|---|---|
| 0 | CMD0001 | Command executed | |
| 64 | EXC0100 | HOLD-PROGRAM or BREAK command in SYSDTA data stream |