how can i use the parameters decalred in main pgm in sub pgm
Answer Posted / venkat
specify the field as GLOBAL.
EX.
Main program
WSS.
01 WS-ENO PIC X(9) GLOBAL.
Sub program.
PD.
DISPLAY WS-ENO.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
how do you access an uncataloged dataset in a jcl?
what is the use of JCL?
Name the statement which can be used to send data to another mvs jes3 node?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
i want to store 20 digits . how will u do it in cobol ?
how can the same proc be re-used and called by many jobs?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
What are s0c1, s0c4, s0c5, s0c7 and socb?
How does jcl act on code(if you take a cobol program)?
how you will the direct the data to spool using sysout option?
Is it possible to left uncode disp? If yes, how?
how do you code a null statement?
In sms datasets, what is the function of the dd avgrec keyword?
How jcl work to handle various input output file operations?
Does jcl support automatic restart?