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...


In JCL I have 5 steps,I need to execute 1st,2nd and 5th steps
only,can any one answer me please?

Answers were Sorted based on User's Feedback



In JCL I have 5 steps,I need to execute 1st,2nd and 5th steps only,can any one answer me please?..

Answer / muthu

Hi All,

For this question we have to consider the following
scenario.

Step 1 - it has to be executed at any cost
Step 2 - it has to be executed at any cost
Step 3 - it should not be executed if the 1st and 2nd steps
executed successfully.
Step 4 - it should not be executed if the 1st and 2nd steps
executed successfully.
Step 5 - it has to be executed at any cost

Step 1 - No need to code any cond codes
Step 2 - COND = (0, NE) (This execs if step1s rc is 0)
Step 3 - COND = (0, EQ) (This step get skip if step 2's rc
is 0)
Step 4 - COND = (0, EQ,step2) (This step get skip if step
2's rc is 0)
Step 5 - COND = (0, NE,step2) (This step execs if step2's
rc is 0).

This is my assumption correct me if am wrong.

Is This Answer Correct ?    23 Yes 1 No

In JCL I have 5 steps,I need to execute 1st,2nd and 5th steps only,can any one answer me please?..

Answer / mahesh

//mat021ex job notify=&sysuid,class=a,msgclass=a,
cond=(step2,00,eq)
//step1 exec
//step2 exec condition satisfied remaining steps areskipped
//step3 exec
//step4 exec
//step5 exec cond=even

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More JCL Interview Questions

Which COND paramter will u use to execute the step only if the previous step does not execute

3 Answers   BoA, HSBC,


What is the difference between BLKSIZE and LRECL?

3 Answers  


i have five step in jcl.my forth step is gdg.gdg was abend.when will job complete,hoe to handle you

3 Answers   L&T, Wipro,


how many types of sorts are there in jcl?

2 Answers   IBM,


wht do u mean by notify parameter, how can u give acess to multiple users ?

4 Answers   L&T,


. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance

1 Answers  


1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program anyone please answer me for above questions. it's very urgent

1 Answers  


What is NOTCAT ?

0 Answers  


I have one GDG. Everyday One new version is being created.Now I want to split this created version in different files each having 1000 records. Here Problem is I don't know How many records will be there in new version of GDG? that's why I don't know How many Out files we need to use . Interesting??????????????

4 Answers   CTS,


mainframe questions like basic&depth

0 Answers   TetraSoft,


Which storage devices are grouped under DASD and SYSDA ?

1 Answers   IBM,


when GDG version number get changed ? bcz always Generations only increasing.

1 Answers   Cap Gemini,


Categories