I have an job having three job steps.Suppose i want to call
a pgm in step2 and aproc in step3.How to write the code?
Answer Posted / siva
//jobname JOB ---------
//PROCLIB DD DSN=MYPROCLIB,DISP=SHR
//step1 EXEC PGM=PGM1
//
****END OF step1********
//step2 EXEC PGM=PGM2
//
//
*****END OF step2********
//step3 EXEC <PROC NAME SPECIFIED>
//
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What are the parameters that are used in creating a gdg?
Is it possible to left uncode disp?
Explain the function of the steplib dd statement?
How does jcl act on a cobol code?
What is the syntax of JCL statement?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
Is it possible to code instream data in a PROC?
How can the attributes of one sms dataset be copied to another dataset?
Mention the types of job control statements?
what is a jcl?
What is the significance of addrspc parameter in the exec statement?
A dd statement consists of 4 fields. Name them?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
What is the use of disp parameter?
how do you access an uncataloged dataset in a jcl?