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

What are the different open modes available in cobol?

1142


What are different data types in cobol?

1227


how do you define single dimensional array and multidimensional array in your cobol?

1044


How can you get the ksds file records into your cobol program?

1025


What is the usage of comp fields in cobol?

1128


How many sections are there in data division in COBOL?

1077


In COBOL programming, what is PERFORM? What is VARYING?

1087


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

1142


Name the divisions, which are available in a cobol program?

1168


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4119


Can you please let me know the centre name of INS certification in Kolkata.

2179


IF I mention stop run in CICS what happens?

2304


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1315


Write some characteristics of cobol as means of business language.

1078


what is search and searchall?what is the diffrence between them?give an best example?

6664