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
When output dataset space is required, what quantity categories are used?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
A dd statement consists of 4 fields. Name them?
what is a jcl?
What are steplib and joblib?
Is it possible to left uncode disp? If yes, how?
how you can access an uncataloged dataset in a JCL?
Explain how can the submitting users racf authority be overridden in a job stream?
write a jcl to execute a job by 7:00 am on jan 20,1986?
What is the use of disp parameter?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
List the various advantages of using jcl language?
how to compare two datasets without using superce because output is limited to 133 bytes
What is Cataloged Procedures?