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
What is the difference between the positional and keyword parameters? Give examples.
List in order the hierarchical levels of jcl?
which parameter is used to check the syntax of a jcl without executing it?
what is use of space parameter in dd statement?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What is the function of job statement in jcl?
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
what is the purpose of coding class parameter in job statement?
how you can access an uncataloged dataset in a JCL?
Is their any set of rules for dd? Explain.
What does a disposition of (new,catlg,keep) for a dsn mean?
Explain the function of a dd statement?
What is the function of the dd mgmtclas keyword in sms datasets?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
How can a stopped job be started again?