More than one condition in COND in JCL.
Posted: Mon Dec 22, 2014 4:37 pm
Hi
I need help in using the COND. One of the steps is coded like this :
This statement in my JCL is used to execute the step STEP01 based on the return code of the previus step, FTP. If FTP returns less than 4 then I want to execute STEP01.
Now, I want to check for two conditions for the execution of step01. I would like to run STEP01 if the return code of the FTP step is either less than 4 OR equal to 1954 and changed the code like this, but it did not work:
Can any body help me in handling this?
I need help in using the COND. One of the steps is coded like this :
Code: Select all
//STEP01 EXEC PGM=IKJEFT01,COND=(4,LT,FTP)
Now, I want to check for two conditions for the execution of step01. I would like to run STEP01 if the return code of the FTP step is either less than 4 OR equal to 1954 and changed the code like this, but it did not work:
Code: Select all
//STEP01 EXEC PGM=IKJEFT01,
// COND=((4,LT,FTP),(1954,EQ,FTP))