There are 2PROCS in a JCL. I want following conditions to
be carried out
1) 1st PROC should be executed as such
In second PROC
2) First 4steps should not be executed
3) 5th step should not be executed
4) 6th and 7th step should be executed
The change should be done only in the JCL and PROC should
be untouched ?




Answers were Sorted based on User's Feedback



There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be e..

Answer / cr.arulmozhi

Using a condition Parameter like this in the JCL step
executing the second PROC might solve the problem....

// cond.step1=(0,le), cond.step2=(0,le), cond.step3=
(0,le)...

but I want to know if there is any other way to do it.
Could anyone help me on the same ?

Is This Answer Correct ?    5 Yes 2 No

There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be e..

Answer / sahana

for 1st one give COND=ONLY(it will execute 1st step if n only if second step executed)
2) COND=EVEN
3)COND=EVEN
4)COND=EVEN

Is This Answer Correct ?    0 Yes 0 No

There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be e..

Answer / prem...

Even IEDEDIT utility can be used and other way is restart
from the particular step and use a cond parmeter when you
want to skip any step in the job flow(0,le) and to skip the
last steps null(//) can be used.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer



More JCL Interview Questions

is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to have the jobs same name?

4 Answers   Accenture,


I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG ?

5 Answers   Xansa,


What is the purpose of the PARM keyword in the EXEC statement?

3 Answers  


oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset

3 Answers   Cognizant,


what is the resolution for sb37 error

2 Answers   TCS,






I have three files for one step i need to override the third file how to do that in jcl?

1 Answers   UST,


GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?

2 Answers   ABC, IBM,


What does a disposition of (NEW,CATLG,DELETE) mean?

3 Answers  


diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)

4 Answers   RBS,


i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?

6 Answers   IBM,


Why we will create load module in PDS only, Why nt in PS?

2 Answers   TCS,


Explain about Cobol Subroutines

1 Answers  






Categories