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 / rajagopalan
The variables in the working-storage section of prog-b will
be initialized only if prog-a has given a CANCEL statement
after CALL statement. Othrwise the WS variables of prog-B
will retain the latest contents of the previous call.
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What are the rules of the move verb?
explain sorting techniques in cobol program?
Explain what you understand by passing by value.
How many sections are there in data division in COBOL?
How do you differentiate between cobol and cobol-ii?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
what happens if parmparameter passes zero bytes to the program
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Mention the guidelines to write a structured cobol program?
What are the different rules to perform a Search?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is amode(24)?
Write a program to explain size error.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?