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 is the difference between PIC 9.99 and PIC9v99?
How many sections are there in data division in COBOL?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How to remove 2 duplicate records and copy only one using job control language?
What are the cobol coding sheets?
What is the compute verb? How is it used?
How do you reference the fixed block file formats from cobol programs
What rules are to be followed while using the corresponding options?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What are the pertinent COBOL commands?
what is search and searchall?what is the diffrence between them?give an best example?
How to know whether the module is dynamical or statistical?
What is amode(31)
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?