ashokkumar_rn wrote:If the return code from step14 is not four then all the steps should execute.
If its equal to 4 then execute only the last step of the job.
Then you'll want something like this:
//STEP01 EXEC PGM=P1
//STEP14 EXEC PGM=P14
//IF1 IF (STEP14.RC ¬= 4) THEN
//STEP15 EXEC PGM=P15
//STEP39 EXEC PGM=P39
//STEP40 EXEC PGM=P40
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day