how can i use the parameters decalred in main pgm in sub pgm
Answer Posted / lakshmisudha
if we defined the variables in main program like below
data division
working-storage section.
01 a1 pic 99.
01 a2 pic 9(3).
if you want use same variables in sub program you define
like below in sub program
DATA DIVISION.
LINKAGE SECTION.
01 B1 PIC 99.
01 B2 PIC 9(2).
PROCEDURE DIVISION USING A1, A2.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain how can an in-stream dataset be terminated?
In sms datasets, what is the function of the dd mgmtclas keyword?
Is it possible to left uncode disp?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
How can a jobs execution priority be modified?
what are the various stages of job processing?
How to pass the parameter in parm using linkage section ? (syntax)?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Explain about LMQUERY�give a dialog information about a data set
what is use of disp parameter in dd statement?
what is the purpose of coding class parameter in job statement?
What do you understand by the term notcat 2 – gs?
What is the function of dd name parameter with a 2 part structure; audit.report?
which utility is used to sort a file in jcl?