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
can any one plzzzzzz tell the jcl code for creating ps using idcams
How does the jcl specify the job to os?
How can a stopped job be started again?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
What is the syntax of JCL statement?
How is a type of file defined in the jcl that executes the cobol program?
What is the purpose of dd * statement in jcl?
Name what parameter directs the output of the job log dataset?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
How can the disposition of sysout datasets be set for an entire jobstream?
For what purpose steplib and joblib are used ?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
What is use of restart and how to use it?
what is the compile process of cobol program expalin with code
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) ?