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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of a dd statement?

709


Explain the job statement in jcl?

653


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2220


What is the use of disp parameter?

653


What are some jcl statements that are not allowed in procedures?

728






What is the syntax of JCL statement?

696


What is job control language?

611


Must tape dataset definitions include vol=ser specifications?

983


How can a stopped job be started again?

714


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

724


Define concatenating?

667


How does the jcl specify the job to os?

696


List the different jcl statements that are not permitted in the procedures?

640


How to do automated restart when a job abend?

791


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5062