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 do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
which utility is used to run a cobol-db2 program?
how to run batch program without jcl?
when can a job time-out occur? How to overcome that?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
What are some jcl statements that are not allowed in procedures?
When space is allocated for an output dataset, what units can be used?
How can the submitting users racf authority be overridden in a job stream?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
i want to store 20 digits . how will u do it in cobol ?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
What is the function of dd name parameter with a 2 part structure; audit.report?
How do you submit a job for execution?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file