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

I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG ?

5 Answers   Xansa,


Explain about LMMLIST�list a library's members

1 Answers  


Which storage devices are grouped under DASD and SYSDA ?

1 Answers   IBM,


explain concatinating datasets?

1 Answers  


How to send data from cobol program to jcl?

2 Answers   CSC,


I have 5 steps in my job. say s1, s2, s3, s4, s5 //s1 exec ............. //s2 exec ............ //s3 exec .......... //s4 exec ........ //s5 exec ............... my question is i want to exeute only s2 and s4 steps... please advice me how to do this:

4 Answers   ITC Infotech, TCS,


can i sort packed decimal if i can tell the syntax

1 Answers   Barclays,


a job have 5 steps and it will executes a proc which have 5steps in it. now i have to execute step3 only when step2 of proc executes successfully

3 Answers  


What is multithreading in jcl?

0 Answers  


What do you do if you do not want to keep all the space allocated to a dataset?

2 Answers  


Describe the various parameters utilized in the creation of a gdg?

0 Answers  


In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute from 7th to 10th step. What is the solution for this ?

7 Answers  


Categories