The CANCEL-PRODAMP-PROGRAM statement unloads a PRODAMP program. The PRODAMP object will be loaded again during the next call of this PRODAMP procedure from the DAMP program level or as a subroutine.
Format
CANCEL-PRODAMP-PROGRAM |
NAME = *INTERRUPTED / <integer 4..99> / <structured-name 1..32 / <name 1..32 with-under> |
Operands
NAME = *INTERRUPTED / <integer 4..99> / <structured-name 1..32> /<name 1..32 with-under>
Specifies the PRODAMP program to be unloaded.
NAME = *INTERRUPTED
Specifies an interrupted PRODAMP program. If several programs have been interrupted, the program most recently interrupted is unloaded. If no program has been interrupted, the first subroutine is unloaded.
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 unloaded. 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 which was started with this name using the START-PRODAMP-PROGRAM statement, was loaded as subroutine during PRODAMP program execution or has been compiled without errors under this name by the PRODAMP compiler.
Examples
CANCEL-PRODAMP-PROGRAM NAME=*INTERRUPTED CANCEL-PRODAMP-PROGRAM PROC_1 CANCEL-PRODAMP-PROGRAM TEST-PROC