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 is timing concept in mainframe?
How to override loadlib?
what is DD statement is used in JCL?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
List the different components of jcl statement?
Explain how can the attributes of one sms dataset be copied to another dataset?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Is automatic restart possible in jcl?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
When space is allocated for an output dataset, what units can be used?
What is the function of the dd dcb keyword?
List in order the hierarchical levels of jcl?
Which dd parameters are required?
What is the syntax of JCL statement?
For what purpose steplib and joblib are used ?