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
Why block size is multiple of lrecl in jcl?
What is the function of dd disp parameter?
Is it possible to left uncode disp? If yes, how?
Is it possible to left uncode disp?
Explain the purpose of the dd keylen parameter?
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
Differentiate between addressing mode and run mode.
What are hierarchy levels in jcl?
What is the function of the dd mgmtclas keyword in sms datasets?
What is the purpose of dd?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Explain dd statement in jcl?
Explain how can return codes be tested before execution of a job step?
What happens if both JOBLIB & STEPLIB is specified ?