can u execute a proc from another proc?
Answer Posted / manikandan
hi all here is code for invoking proc within anothr proc
//proc1 proc
//step1 exec pgm=pgm1
//step2 exec pgm=pgm2
//step exec proc1
// pend
//*********below proc2 i invoke proc1***********
//proc2 proc
//step3 exec pgm=pgm3
//step4 exec pgm=pgm4
//step exec proc1
// pend
let me know any wrong from above
thank u
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is the function of a dd statement?
Are there any set of rules for the names of the steps used in a job? What are they?
what are the statements that are not valid to be included in an include statement?
how do you access an uncataloged dataset in a jcl?
Name what parameter directs the output of the job log dataset?
Where & How Do You Code Identifier In Jcl?
Is there any command to check wether the ps file is in sorted order?
Is condition checking possible in jcl? If yes, how?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What is the function of dd name parameter with a 2 part structure; audit.report?
how can you check if a file is empty using jcl?
What is NOTCAT ?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
How does jcl act on code(if you take a cobol program)?