View previous topic :: View next topic
|
Author |
Message |
raghav08 Currently Banned New User
Joined: 03 Jun 2008 Posts: 94 Location: Bangalore
|
|
|
|
Hello,
I have following JCL statement
//TELLOP38 EXEC PGM=TELLOP,
// COND=((0,EQ,STEP38.PR),(8,EQ,STEP38.PR))
The step-TELLOP38 executes only when th RC of step-PR (in the procedure step STEP38) is other than 0 & 8 ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What happened when YOU tested it |
|
Back to top |
|
|
raghav08 Currently Banned New User
Joined: 03 Jun 2008 Posts: 94 Location: Bangalore
|
|
|
|
Hi,
This JCL statement is provided by our subcontractor, I do not have complete JCL.
As you said, I tested with own dummy test JCL & PROC with same COND.
RESULT -
The step-TELLOP38 executes only when th RC of step-PR (in the procedure step STEP38) is other than 0 & 8
Thanks. |
|
Back to top |
|
|
santy Warnings : 1 New User
Joined: 19 Jul 2007 Posts: 22 Location: mumbai
|
|
|
|
hi raghav08,
The step-TELLOP38 will be executes only with the condition given in COND parameter will get fails. means if RC of STEP38 will not be equal to '0' or '8' then COND condition is not satified and so that the step-TELLOP38 will execute.
you can use other option also.
//TELLOP38 EXEC PGM=TELLOP,
// COND=((0,EQ,STEP38.PR) OR (8,EQ,STEP38.PR)) |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Santy
Please do not post code that DOES NOT WORK
You have been warned !!! |
|
Back to top |
|
|
|