Invoking cataloged procedures

To invoke a cataloged procedure, specify its name in the PROC parameter of an EXEC statement. You do not need to code the keyword PROC. For example, to use the cataloged procedure CEEWLG, include the following statement in an appropriate position among your other job control statements in the input stream:
//stepname EXEC PROC=CEEWLG

or

//stepname EXEC CEEWLG

Either of these EXEC statements can be used to call the IBM-supplied cataloged procedure CEEWLG to process the job step specified in stepname.

A job that calls for a cataloged procedure to run can also contain DD statements that are applicable to the cataloged procedure, such as:
  • Other cataloged procedures to be run
  • Other (single or multiple) executions of the same cataloged procedure
  • Executable programs to be run