Answer Posted / muttaiah
Jeetendra,
I'm not sure what you are going to say..But, it's possible
to code a proc(procedure) within a proc(procedure).
I mean proc can also be referred as procedure...vice-
versa.EX:
//job1 job Operands/Parameters
//Proclib JCLLIB order=(
proc1.library,
proc2.library,
proc3.library)
//Jstep1 exec pgm=
//step3 exec Proc=Proc1 or //step3 exec proc1
//Proc1 Proc
//pc1step1 exec pgm=
//pc1step2 exec proc2
//proc1 pend
//proc2 proc
//pc2step1 exec pgm=
Remember in proc1 i have not coded JCLLIB since job,
jcllib, joblib are not allowed here.
proc2 will be pulled from the library mentioned in the job.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain about ISPF/TSO Commands
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
What are s0c1, s0c4, s0c5, s0c7 and socb?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
How to override loadlib?
What are hierarchy levels in jcl?
how JCL works?
What do you understand by the terms: joblib and steplib?
What does a disposition of (MOD,DELETE,DELETE) mean ?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
what is use of dsn parameter in dd statement?
what is the resolution for sb37 error
What do you understand by the term notcat 2 – gs?
What is the syntax of JCL statement?
Does jcl support automatic restart?