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
What are the different open modes available in cobol?
What are different data types in cobol?
how do you define single dimensional array and multidimensional array in your cobol?
How can you get the ksds file records into your cobol program?
What is the usage of comp fields in cobol?
How many sections are there in data division in COBOL?
In COBOL programming, what is PERFORM? What is VARYING?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Name the divisions, which are available in a cobol program?
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.
Can you please let me know the centre name of INS certification in Kolkata.
IF I mention stop run in CICS what happens?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Write some characteristics of cobol as means of business language.
what is search and searchall?what is the diffrence between them?give an best example?