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 you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
Explain how can values be passed from the job stream to an executable program?
How would you understand error(execution phase)?
For what purpose steplib and joblib are used ?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
What is the use of disp parameter?
when can a job time-out occur? How to overcome that?
what is DD statement is used in JCL?
Differentiate between the joblib and the steplib statements?
which utility is used a dummy utility?
what is SOC4 error?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Differentiate between addressing mode and run mode.