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?

Answers were Sorted based on User's Feedback



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

Answer / mr. cooooool

Hi...........
We can do like dis:

//COOLJCL JOB NOTIFY=&SYSUID,RESTART=P2.S2
//P1 EXEC PROC=P1
//P2 EXEC PROC=P2
//

WE NEED ALSO TO CODE COND PARAMETER FOR S3,S4
LIKE THIS

//S3 EXEC PGM=PGM1,COND=(0,LE)
//S4 EXEC PGM=PGM2,COND=(0,LE)

THIS WILL CAUSE EXCUTION OF JOB WILL START FROM
S2(STEP) OF P2(PROC) AND THAN REMAINIG STEP(S3,S4)
WILL BYPASS.

THANKS
REGARDS
RAVINDRA BISHT

Is This Answer Correct ?    9 Yes 1 No

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

Answer / 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

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

Answer / challa srinivas

Just use restart parameter in job card. as restart=(p4.s2) after this give null statement in the job or in step 3 of proc4 give COND = (0,LE,s2). Please make sure that step 2 should execute successfully else the job will start executing from step3.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / ajay kumar ande

job001 job (a/c info),"ajay'...... ,restart=procnm.stepnm
//P1 EXEC PROC=P1
activity
dd
//P2 EXEC PROC=P2
activity
//P3 EXEC PROC=P3
activity
dd
//P4 EXEC PROC=P4
activity
dd
procnm exec proc,

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More JCL Interview Questions

mainframe questions like basic&depth

0 Answers   TetraSoft,


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

0 Answers  


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

0 Answers  


What is the difference between Sysin,Sysout,Sysdbout and Sysudump?

3 Answers  


Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?

7 Answers   IBM,


how can we pass external data to instream procedures

5 Answers   IBM, Infosys, Ocwen,


How to create delta file using JCL

1 Answers   CTC,


can a job be submitted through jcl only? is there another way to submit a job?

2 Answers   CSC,


what is the purpose of coding class parameter in job statement?

0 Answers   IBM,


//step#3 exec pgm = hkbc762 what is wrong with the syntax?

3 Answers  


read all error codes like SB07?

1 Answers  


How to check empty file in jcl?

4 Answers   Infosys,


Categories