The statement COMPILE-PRODAMP-PROCEDURE is used to compile a PRODAMP procedure from a PRODAMP library (i.e. outside of the PRODAMP editor) in interactive mode or a batch job.
Format
COMPILE-PRODAMP-PROCEDURE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Operands
SOURCE = *PRODAMP-USER-SOURCE-LIBRARY(...) / *PRODAMP-SYSTEM-LIBRARY(...) / <filename 1..54 without-gen-vers>(...)
Specifies the PRODAMP library from which the PRODAMP procedure is to be taken.
SOURCE = *PRODAMP-USER-SOURCE-LIBRARY(...)
The currently set PRODAMP user source library is used.
SOURCE = *PRODAMP-SYSTEM-LIBRARY(...)
The PRODAMP system library is used.
For standard installations this is the library $TSOS.SYSDMP.DAMP.
SOURCE = <filename 1..54 without-gen-vers>(...)
The library with the specified name is used.
ELEMENT = <name 1..32 with-under>
Name of the element to be compiled.
VERSION = *HIGHEST-EXISTING / <integer 1..999>
Version of the element to be compiled.
OBJECT-LIBRARY = *PRODAMP-USER-OBJECT-LIBRARY / *PRODAMP-SYSTEM-LIBRARY / *SOURCE-LIBRARY / <filename 1..54 without-gen-vers>
Specifies the PRODAMP library to which the PRODAMP program is to be saved.
OBJECT-LIBRARY = *PRODAMP-USER-OBJECT-LIBRARY
The PRODAMP program will be saved in the currently set PRODAMP user object library.
OBJECT-LIBRARY = *PRODAMP-SYSTEM-LIBRARY
The PRODAMP program will be saved in the PRODAMP system library.
For standard installations this is the library $TSOS.SYSDMP.DAMP.
OBJECT-LIBRARY = *SOURCE-LIBRARY
The PRODAMP program will be saved in the specified source library.
OBJECT-LIBRARY = <filename 1..54 without-gen-vers>
The PRODAMP program will be saved in the library with the specified name.
Example
COMPILE-PRODAMP-PROCEDURE SOURCE=MYLIB(ELEMENT=MYPROG),OBJECT-LIBRARY=*SOURCE