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 access an uncataloged dataset in a jcl?

1815


what is the use of JCL?

1211


Name the statement which can be used to send data to another mvs jes3 node?

1221


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

1884


i want to store 20 digits . how will u do it in cobol ?

1491


how can the same proc be re-used and called by many jobs?

1561


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

1282


What are s0c1, s0c4, s0c5, s0c7 and socb?

1219


How does jcl act on code(if you take a cobol program)?

1349


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

2479


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

1230


how do you code a null statement?

1387


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

1157


How jcl work to handle various input output file operations?

1222


Does jcl support automatic restart?

1291