in step1 of a jcl,disp=(mod,delete,delete)
step02 exec pgm=ccc,cond=(0,le)
will step02 be executed?

i)never
ii)always
iii)
iv)...

i dont remember options

Answers were Sorted based on User's Feedback



in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed..

Answer / y@$w@nth

disp=(mod,delete,delete)
will tells that if the file is not previously created create
it if it is already created then use that file.

the two delete statements will tell that delete the file
after norml and abnormal termination.

step02 exec pgm=ccc,cond=(0,le)
Here step02 was coded as condition code which always falls
to true so this step wont execute in any situation......

Is This Answer Correct ?    26 Yes 0 No

in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed..

Answer / k.suamn

it does not exicute

Is This Answer Correct ?    5 Yes 0 No

in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed..

Answer / vinay sonar

Step2 will not execute because always true condition is
coded in step2.
condition code(cc) 0 will be always less than any previous
step cc say 0,4,8,4095 etc. so condition is always true.So
step2 wont execute

Is This Answer Correct ?    3 Yes 0 No

in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed..

Answer / sowmya

step2 will be executed.the steps after the step2 will be by-
passed

Is This Answer Correct ?    1 Yes 9 No

Post New Answer

More JCL Interview Questions

how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly

5 Answers   IBM, TCS,


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP in the JCL is SHR and the program opens the file in EXTEND mode. What happens ?

3 Answers  


I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...

2 Answers   Satyam,


lines(1,cancel)??What is meant by that??Plz explain it....

1 Answers   IBM,


Mention the types of job control statements?

0 Answers  






What is Backward Referencing ?

3 Answers   HSBC,


Can a job have only steplib and no joblib ?

6 Answers  


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,


Do we need to code DCB parameters when using DISP position as MOD?

1 Answers   Accenture,


If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?

2 Answers   IBM,


How dummy is used in jcl?

0 Answers  


How do you send the output of a COBOL program to a member of a PDS?

7 Answers  


Categories