Could you provide an example and its effect OF,
Using COND on JOB and EXEC both ?

Answer Posted / sampler

//MYJOB JOB COND=(4,LT)
//MYSTEP1 EXEC CATPROC
//MYSTEP2 EXEC PGM=MYPROG,COND=(8,LE,MYSTEP1)

COND=(4,LT) will be used to MYSTEP2,
COND=(8,LE,MYSTEP1) will be ignored

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I share my data with other jobs? How?

672


What is multithreading in jcl?

944


which parameter is use to declare the name of dataset in dd statement?

739


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

779


Is their any set of rules for dd? Explain.

664






How can a jobs execution priority be modified?

799


how you will the direct the data to spool using sysout option?

1769


can any one plzzzzzz tell the jcl code for creating ps using idcams

10526


what is use of dcb parameter in dd statement?

778


What is the purpose of dd?

728


in ways data can be passed to a COBOL program from JCL?

669


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

835


Explain how can the attributes of one sms dataset be copied to another dataset?

707


What does a disposition of (new,catlg,keep) for a dsn mean?

619


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1487