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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / kiran
//jobname job ---------------
//proclib dd dsn=procAddress,disp=shr
//step1 exec pgm=pgmA
//step2 exec pgm=pgmB
//step3 exec peocNAme
//
| Is This Answer Correct ? | 1 Yes | 1 No |
What is the purpose of the PARM keyword in the EXEC statement?
What are steplib and joblib?
If your job fails at particular step then what would be the return code for next steps
Explain how can an in-stream dataset be terminated?
What is the error/SOC code if dd names are not sysut1 and sysut2 in IEBGENER?
Explain about User Information
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
Can we able insert data into a PS file Using IEBUPDTE utility??? If Yes can anyone describe it please..
What is order of searching of the libraries in a JCL?
Differentiate between the joblib and the steplib statements?
I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?
how to create a member or sequential dataset through tso command??