View previous topic :: View next topic
|
Author |
Message |
vinooth
New User
Joined: 12 Jun 2005 Posts: 1
|
|
Back to top |
|
|
durga_prasad
New User
Joined: 17 May 2005 Posts: 7 Location: Melbourne
|
|
|
|
vinooth wrote: |
Hi i am vinooth. i need various COND example in jcl.because EDS ll ask only COND in jcl.somewat i know.but it is not enough.
vinooth.v |
Hi
Here it is with example:
Use the COND parameter to test return codes from previous job steps and determine whether to bypass this job step
If any of the test conditions are satisfied, the system evaluates the COND parameter as true and bypasses the job step. If none of the test conditions specified on the COND parameter are satisfied, the system evaluates the COND parameter as false and executes the job step
Example 1
//STEP6 EXEC PGM=DISKUTIL,COND=(4,GT,STEP3)
In this example, if the return code from STEP3 is 0 through 3, the system bypasses STEP6. If the return code is 4 or greater, the system executes STEP6. Because neither EVEN nor ONLY is specified, the system does not execute this step if a preceding step abnormally terminates.
Example 2
//TEST2 EXEC PGM=DUMPINT,COND=((16,GE),(90,LE,STEP1),ONLY)
The system executes this step ONLY if two conditions are met:
A preceding job step abnormally terminated.
No return code tests are satisfied.
Therefore, the system executes this step only when all three of the following are true:
A preceding job step abnormally terminated.
The return codes from all preceding steps are 17 or greater.
The return code from STEP1 is 89 or less.
The system bypasses this step if any one of the following is true:
All preceding job steps terminated normally.
The return code from any preceding step is 0 through 16.
The return code from STEP1 is 90 or greater.
For more refer Manuals of JCL - Reference : http://publibz.boulder.ibm.com |
|
Back to top |
|
|
prashu
New User
Joined: 12 Jun 2005 Posts: 7 Location: hyderabad
|
|
|
|
hi,all
any one please help me.
1. in my job there are 10 steps.i want to to execute 4 th step only with out excution of first 3 steps and without execution of 5 th to 10 th. |
|
Back to top |
|
|
mcmillan
Site Admin
Joined: 18 May 2003 Posts: 1210 Location: India
|
|
|
|
Dear Prashu,
Please start a new Topic to ask your queries... |
|
Back to top |
|
|
|