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
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
In sms datasets, what is the function of the dd avgrec keyword?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Name what parameter directs the output of the job log dataset?
Is it possible to left uncode disp? If yes, how?
How would you understand error(execution phase)?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
Explain how can an in-stream dataset be terminated?
Which dd parameters are required?
Is it possible to define dd statements as you want?
How does jcl specify the job to the operating system?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
what happens in execution stage in job processing?