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

My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as
shown below

//P1 EXEC PROC=P1
//P2 EXEC PROC=P2
//P3 EXEC PROC=P3
//P4 EXEC PROC=P4

There are four steps S1, S2, S3 and S4 in each PROC’s (i.e.
P1, P2, P3 and P4)

I want to execute only step S2 of PROC P2 and no other
steps or PROC’s. How do you achieve this?

Answer Posted / harsha

1 Give Restart parameter as 'RESTART=Jobstep.Procstep' on
JOB card. In this case it would be RESTART=P2.S2. Just
after step S2, give NULL statement or COND=(0,LE).
2 User IEBEDIT.
STEPNAME=(P2.S2)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to do automated restart when a job abend?

1290


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

1250


In sms datasets, what is the function of the dd avgrec keyword?

1043


Explain the function of the dd dcb keyword?

1185


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9696


What do you understand by the terms: joblib and steplib?

1106


What are the parameters that are used in creating a gdg?

1151


in ways data can be passed to a COBOL program from JCL?

1145


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2181


how can the same proc be re-used and called by many jobs?

1435


Define concatenating?

1056


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2644


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

1176


what are the types of abends that occur on job failure? And explain the possible causes of these

1561


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

1216