The RESUME-PRODAMP-PROGRAM statement resumes an interrupted PRODAMP program. If the program was not interrupted, it is started from from the beginning.
Format
RESUME-PRODAMP-PROGRAM |
NAME = *INTERRUPTED / <integer 4..99> / <structured-name 1..32 / <name 1..32 with-under> ,PARAMETERS = *NONE / list-poss(32): <integer -2147483648..2147483647> / <x-string 1..8> / <c-string 1..80> |
Operands
NAME = *INTERRUPTED / <integer 4..99> / <structured-name 1..32> /<name 1..32 with-under>
Specifies the PRODAMP program to be resumed.
NAME = *INTERRUPTED
If a number of programs have been interrupted, the program most recently interrupted is resumed.
NAME = <integer 4..99>
Specifies the number of the window to be assigned to the PRODAMP compiler. The object already generated by the compiler is to be resumed. Windows 4 - 9 and 21 - 99 are supported; windows 10 - 20 are “reserved”.
NAME = <structured-name 1..32> / <name 1..32 with-under>
Specifies the name of a program already started with this name using the START-PRODAMP-PROGRAM statement or which has been compiled without errors under this name by the PRODAMP compiler.
PARAMETERS = *NONE / list-poss(32): <integer -2147483648..2147483647> /<x-string 1..8> / <c-string 1..80>
This operand allows a list of up to 32 parameters to be passed to the interrupted PRODAMP program. The parameters can be declared in numeric or hexadecimal format or as a character string. See "Pseudo-structures" for details on how the PRODAMP program takes over the values passed.
Examples
RESUME-PRODAMP-PROGRAM NAME=*INTERRUPTED, PAR=(X'10000','HUGO') RESUME-PRODAMP-PROGRAM PROC1,(12,13,14)