z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF

Examples of EXEC statements

z/OS MVS JCL Reference

Example 1

The EXEC statement named STEP4 invokes a program named DREC and passes the value in the PARM parameter to DREC.

Example 2
//       EXEC PGM=ENTRY,TIME=(2,30)

This EXEC statement, which does not have a stepname, invokes a program named ENTRY and specifies the maximum processor time for execution of the step.

Example 3

The EXEC statement named FOR invokes a cataloged or in-stream procedure named PROC489. The ACCT parameter applies to all steps in the procedure. The RD parameter applies to only the step named PSTEP2. The DEV parameter assigns the value 3350 to the symbolic parameter Device Support Bucket in a procedure statement.

Go to the previous page Go to the next page

Copyright IBM Corporation 1990, 2014