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


Examples of the COND parameter

z/OS MVS JCL Reference
SA23-1385-00

Example 1
//TYPE  JOB  (611,402),BOURNE,COND=(7,LT)

The COND parameter specifies that if 7 is less than the return code, the system terminates the job. Any return code less than or equal to 7 allows the job to continue.

Example 2
//TEST  JOB  501,BAXTER,COND=((20,GE),(30,LT))

The COND parameter specifies that if 20 is greater than or equal to the return code or if 30 is less than the return code, the system terminates the job. Any code of 21 through 30 allows the job to continue.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014