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

How is a dataset passed from one step to another?

2 Answers   DELL,


Can we change the LIMIT of GDG?

6 Answers   HCL,


Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?

6 Answers   IBM,


Suppose we have 5 steps in a job.No step should be executed After submitting every step in a job

2 Answers   IBM, AVB,


We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.

6 Answers  






there are 10 steps in jcl how to execute the steps from step2 to step8 only

6 Answers   EDS,


Hi, can any one tell about " How do u eliminate the duplicates "

2 Answers   Cap Gemini,


What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //step#3 exec pgm = hkbc762 iii) //step#3 exec pgr = hkbc672

6 Answers  


what is the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc..

3 Answers   Cognizant,


how are instream data terminated?

3 Answers   Tech Mahindra,


if we give two job cards in a single what happens

3 Answers   IBM,


how can u understand ps and pds from their names ?

1 Answers   TCS,






Categories