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
Is there any command to check wether the ps file is in sorted order?
When output dataset space is required, what quantity categories are used?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
Differentiate between the joblib and the steplib statements?
Name the statement which can be used to send data to another mvs jes3 node?
What are the jcl procedures?
How can unused space allocation be returned to the system when a dataset is closed?
how to do automated restart when a job abends?
What is the function of dd disp parameter?
when does a dataset go uncataloged?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
how you can access an uncataloged dataset in a JCL?
Explain the function of dd name parameter with a 2 part structure; audit.report?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
what JCL Procedures?