i have 3 steps in my jcl, where i want to run only one step
at a time depending on the variable. How should i give the
condition statement... I have tried this with two steps
which is working but not able to add condn for the 3rd
step. can anyone help me... I want to know the cond stmt
which i can code in step 3 and step4, so that only either
step2 or step3 or step4 executes

Answers were Sorted based on User's Feedback



i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. ..

Answer / uday bhaskar

if we refer cond perameter with first step then we can
bypass the third and forth steps also
if you not refer then it will take return code of the above
step so if above step was bypass then all will bypas

Is This Answer Correct ?    7 Yes 0 No

i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. ..

Answer / anjui

We can achieve it through if then else statement in jcl
along with the instream proc.

Is This Answer Correct ?    4 Yes 0 No

i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. ..

Answer / p.j.karthikeyan

Uday Bhaskar is correct

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More JCL Interview Questions

which utility is used a dummy utility?

0 Answers   IBM,


Can you delete the GDG base without deleting GDG generations ?

7 Answers   Cap Gemini,


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

0 Answers  


can i sort packed decimal if i can tell the syntax

1 Answers   Barclays,


Name the statement which can be used to send data to another mvs jes3 node?

0 Answers  


what is fixed length and variable length and difference between them

1 Answers   CGI, Wipro,


i have records from 1 t0 100 . i need to open records from 10 to 18 and change the values in tht ? how can i do tht ?

2 Answers   Syntel,


what is XSUM in some fields= none, xsum ??

7 Answers   Xansa,


What are the parameter in the job card wihtout which job won't run........

10 Answers   IBM,


how can i use the parameters decalred in main pgm in sub pgm

2 Answers   TCS,


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

0 Answers   HF, iNautix,


How do you overcome this limitation ?

0 Answers  


Categories