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 / 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 do you overcome this limitation ?

1158


Is it possible to define dd statements as you want?

1062


what happens in conversion stage in job processing?

1170


What are steplib and joblib? What for they are used?

1135


What is jcl in mainframe, and how many types of jcl statements are there for a job?

1110


what is use of disp parameter in dd statement?

1045


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1165


Is their any set of rules for dd? Explain.

1099


What is the use of disp parameter?

1080


Where can program checkpoints be stored for use in a restart?

1371


List in order the hierarchical levels of jcl?

1064


What is the difference between run mode and addressing mode?

1159


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2697


In sms datasets, what is the function of the dd avgrec keyword?

1040


how you will the direct the data to spool using sysout option?

2355