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

Answers were Sorted based on User's Feedback



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

Answer / ven

just step condition will dominate the job condition. that's
it.

Is This Answer Correct ?    4 Yes 5 No

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

Answer / 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

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

Answer / vinay sonar

If we code it both in step and job step will dominate over
job

Is This Answer Correct ?    0 Yes 2 No

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

Answer / mahaveer

Step condition will overide the job condition

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More JCL Interview Questions

Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?

5 Answers   Patni,


What all are the changes to be made in JCL so as to do testing?

2 Answers   TCS,


If I update one or more members in a pds in the step 1, how can I reach these new contents to be used in the step 2 of the same job? To start a new job via intrdr is not satisfactory, because I must solve this problem in one job.

2 Answers   IBM,


I have a PDS and want to omit few rows of all members of a PDS. How to do it?

6 Answers   Accenture,


how would you create a temporary dataset? And where will you use them?

0 Answers  


If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?

1 Answers   IBM,


What is a GDG

4 Answers   IBM,


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

0 Answers  


A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

3 Answers   IBM,


What is RESTART? How is it invoked?

8 Answers   HSBC,


Passing a variable parm from JCL to a cobol/db2 program

1 Answers   IBM,


Explain in DD statement what is the use of DCB parameter?

0 Answers  


Categories