John,

Good trick :-)  And with some minor modification:

//MYJOB JOB
//           SET RUN=ONLY or EVEN   ONLY will never run , EVEN will always run 
step 1
//* 
//STEP1 EXEC PGM=MYPROG1,COND=&RUN
//STEP2 EXEC PGM=MYPROG2

it can be made to either run or not run the 1st step (albeit somewhat 
non-intuitively :-) which I think was the OP's intent.  

I will leave it to the OP to determine if this satisfies their requirement.

John McDowell

>Very old trick I learned from an IBMer (who actually help write part OS/360)
>
>//MYJOB JOB
>//NORUN EXEC PGM=IEFBR14,COND=ONLY
>//STEP2 EXEC PGM=IEFBR14

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to