JCL Catalog Procedure
PROCEDURE which is stored in a library called as CATALOG PROCEDURE.
The library contains CATALOG PROCEDURE is PDS/PDSE.
PROCEDURE is defined outside the JCL.
PEND is not mandatory.
CATALOG PROCEDURE allows CNTL, command, DD, ENDCNTL, EXEC, IF/THEN/ELSE/ENDIF, INCLUDE, OUTPUT JCL, and SET statements only.
Maximum 255 procedures can be defined in the catalog procedure.
PROCLIB is mandatory to provide the library to the JCL where the catalog procedures are placed.
CATALOG PROCEDURE can be coded within the CATALOG PROCEDURE.
CATALOG PROCEDURE name is the member name in the library.
To call CATALOG PROCEDURE, the name of the procedure should be coded at EXEC PROC.
The system defined procedures library SYS1.PROCLIB.
CATALOG PROCEDURE is not checked for correct syntax until an EXEC statement that calls the procedure.
//[name] PROC [parameter [comments]] //[name] PROC
If any questions on the above, post your queries on Jcl Discussion forum
JCL Instream Procedure JCL REFERBACK