Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Explain how can the submitting users racf authority be overridden in a job stream?

0 Answers  


I had 100 steps in jcl i want to execute first 10 steps only?

6 Answers   IBM,


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,


Hi, all Suppose i have 10 step in a job (s1,s2,s3,...s10) i want to execute step9 first and then step3 and i used the DPRTY for these steps. so what will happen to other steps? Will the get executed or only these two steps get executed?

2 Answers  


What are hierarchy levels in jcl?

0 Answers  


Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?

1 Answers   Thomson,


How do you pass parameters to the program as the job is being executed ?

2 Answers  


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

0 Answers   IBM,


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

1 Answers   Accenture,


how to identify a vasam dataset by seeing in 3.4(browse)

5 Answers   Cap Gemini,


I have four steps in jcl they are STEP1,STEP2,STEP3 and STEP4. Can it possible to run the reverse order like step4 first then step3,step2,step1?

4 Answers   Broadridge, HCL,


How can an in-stream dataset be terminated?

0 Answers  


Categories