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 overcome this limitation ?
Is it possible to define dd statements as you want?
what happens in conversion stage in job processing?
What are steplib and joblib? What for they are used?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
what is use of disp parameter in dd statement?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
Is their any set of rules for dd? Explain.
What is the use of disp parameter?
Where can program checkpoints be stored for use in a restart?
List in order the hierarchical levels of jcl?
What is the difference between run mode and addressing mode?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
In sms datasets, what is the function of the dd avgrec keyword?
how you will the direct the data to spool using sysout option?