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 to see the latest generation in gdg?

3 Answers   Deloitte,


For what purpose steplib and joblib are used ?

0 Answers  


what type of version is we r using now real time in all modules(cobol, jcl, cics, db2, vsam)?

1 Answers   Accenture,


Wrete a JCL to compare two files and mached records move to onc file & un mached rows wants to another file?

13 Answers   CGI, DSRC, IBM,


what is a steplib

4 Answers   CGI,






How do you restart a step in JCL?

12 Answers   HSBC,


Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.

2 Answers  


What is condition checking in jcl? Is this possible?

0 Answers  


can we have more than one job in a single job card that is we are specifying only one 'job' statement in the jcl.

7 Answers   Accenture,


What is the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember

3 Answers   HSBC,


Can we use DISP=SHR in output file in JCL

0 Answers  


Categories