proc1,proc2,up to proc5 is there if i want to call proc1 and
proc5how can u write the code

Answers were Sorted based on User's Feedback



proc1,proc2,up to proc5 is there if i want to call proc1 and proc5how can u write the code..

Answer / mr. cooooool

Hi..............
we can call proc as following.

//COOLJCL JOB NOTIFY=&SYSUID
//PROCFILE JCLLIB ORDER='PROCEDURE-FILE-NAME'
//STEP1 EXEC PROC1
//SYSPRINT DD SYSOUT=*
.
. * OVERRIDE STATEMENT
.
//STEP2 EXEC PROC5
.
. * OVERRIDE STATEMENT
.
//

THANKS..........

Is This Answer Correct ?    6 Yes 1 No

proc1,proc2,up to proc5 is there if i want to call proc1 and proc5how can u write the code..

Answer / harsha

1 You can use COND parameter as COND=(0,LE) on STEP2 till
STEP4.
2 You can comment out the step you do not want to execute.
3 You can use IEBEDIT to select the steps you want to
execute.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More JCL Interview Questions

how can we override data definitions in jcl. can any one give detailed example

3 Answers   TCS,


I need exexution process for JCL programs

0 Answers  


How is a dataset passed from one step to another?

2 Answers   DELL,


How many JOB statements a JCL can have ? If there are more than one JOB statements in a JCL, are they submitted in succession or in parallel ?

4 Answers   IBM, Tech Mahindra,


Explain the hierarchy levels in jcl?

0 Answers  






i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?

4 Answers   Infosys,


how to set dependancy for jobs?

4 Answers  


What is the use of disp parameter?

0 Answers  


A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF  DD DSN=ID.File1              DSN=ID.File2              DSN=ID.File3

1 Answers   FIS,


what do you mean By spooling? Expand SPOOL?

4 Answers  


How system will identify whether user wants to create PS or PDS? If answer is SPACE parameter then why we need to pass ps or po as dataset organisation while creation

1 Answers  


How to see the COMP3 value(packd decimal)

2 Answers   iGate,


Categories