Communication from JCL to program

A processing program can require information that can vary from execution to execution. For example, the assembler and the linkage editor require that the programmer supply options and module attributes at execution. To provide information to a program, code the PARM or PARMDD parameter on the EXEC statement that executes the program.

To use the information, the processing program must contain instructions to retrieve the information. Retrieval of the PARM or PARMDD information is detailed in z/OS MVS Programming: Assembler Services Guide.

Examples:
//FIRST EXEC  PGM=IEV90,PARM=(OBJECT,NODECK,'LINECOUNT=50')
//LATER EXEC  PGM=HEWL,PARM='XREF,LIST,LET'