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 the function of dd disp parameter?
I need exexution process for JCL programs
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
Mention the types of job control statements?
Explain dfsort utility?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Explain the purpose of dd dummy statement?
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) ?
what happens in conversion stage in job processing?
What do you understand by the term job time – out and how can you overcome that?
What is NOTCAT ?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What are the difference between jcl and jes?
how can the same proc be re-used and called by many jobs?