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


Please Help Members By Posting Answers For Below Questions

How can the submitting users racf authority be overridden in a job stream?

752


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

973


What is the motivation behind coding class parameter in job statement?

686


Is automatic restart possible in jcl? If yes, how?

655


What is the purpose of the dd keylen parameter?

722






what are JCLLIB and STEPLIB in JCL?

675


What is the purpose of dd * statement in jcl?

801


what is SOC4 error?

736


List the different jcl statements that are not permitted in the procedures?

640


what is JCL?

698


What parameter of the job statement is used to limit the cpu time consumed by the job?

838


Why include statement is used in a jcl?

689


What is the difference between run mode and addressing mode?

633


Mention the types of job control statements?

686


what is DSN in JCL and what are the parameters to declare the DSN?

718