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
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
how to compare two datasets without using superce because output is limited to 133 bytes
What are steplib and joblib?
How is a type of file defined in the jcl that executes the cobol program?
Suppose I have five jobs to do. But I want to hold one?
Explain the function of dd name parameter with a 2 part structure; audit.report?
What is the function of the dd dcb keyword?
What is catelog procedure and how many catelog procedure to use in one job?
what is the compile process of cobol program expalin with code
What are the jcl procedures?
What is the use of symbol // in jcl?
When space is allocated for an output dataset, what units can be used?
Explain dd statement in jcl?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What is the function of a dd statement?