Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why block size is multiple of lrecl in jcl?

1353


What is the function of dd disp parameter?

1073


Is it possible to left uncode disp? If yes, how?

1125


Is it possible to left uncode disp?

1140


Explain the purpose of the dd keylen parameter?

1098


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:

3937


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1784


Differentiate between addressing mode and run mode.

998


What are hierarchy levels in jcl?

1471


What is the function of the dd mgmtclas keyword in sms datasets?

1179


What is the purpose of dd?

1186


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

1395


Explain dd statement in jcl?

1054


Explain how can return codes be tested before execution of a job step?

1278


What happens if both JOBLIB & STEPLIB is specified ?

1070