can we write a proc with in a proc
Answers were Sorted based on User's Feedback
Answer / nithya
Yes, writing a proc inside a proc is possible.
Upto 15 levels of looping cataloged proc is possible,
But an instead proc cannot be coded in a cataloged proc.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
Answer / jeetendra kumar patel
No, We can not write procedure widin a procedure. Istead of it we have to call a control card.
Actually control card is the member of PDS or PS file. SO if there is any need of something like procedure widin procedure we have to call the control card.
| Is This Answer Correct ? | 0 Yes | 4 No |
how to identify a vasam dataset by seeing in 3.4(browse)
oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset
How do you submit a JCL under CICS environment ?
For what purpose steplib and joblib are used ?
There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
Explain about User Information
Explain about LMINIT - generate a data ID for a data set
How can the attributes of one sms dataset be copied to another dataset?
i created one base gdg with lrecl = 100 , now i need to create versions with different lrecl =150,200 can it be possible to create like tht ?
is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to have the jobs same name?
how you will define a temporary dataset in jcl?
whats the difference between empty and noempty of GDG?