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...

Program A calls program B. Will the working storage
variables declared in program B be initialized every time
it is called by program A or will the values be retained
until the end of program A?

Answer Posted / vinod babu bachina

when PROGA made a call to PROGB, if it is first time then
the execution in PROGB start from workign storage
section.suppose progA calls again PROGB then the execution
will start from procedure division only .So when we made a
second call to anu subprogram we have to intialize the
working storage section variables.otherwise second call
retains the values of first call.

Is This Answer Correct ?    22 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write down the divisions of cobol program?

1258


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1176


How many sections are there in data division in COBOL?

1138


How to know whether the module is dynamical or statistical?

1144


What are various search techniques in cobol? Explain.

1072


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1506


What is the utilization of copybook in cobol?

1195


What is the use of intialize verb?

1256


What are the different open modes available in cobol?

1194


how to move the records from file to array table. give with code example

2677


What are the cobol coding sheets?

1275


What is the difference between Global and External Variables?

1377


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3263


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3234


Explain how to differentiate call by context by comparing it to other calls?

1186