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 / s.rajagopalan
none of the above answer is correct.
In static call the working storage varibales is not
initialised when the sub program is called. It retains the
latest values of ws variables in the subrpogram.
In case of dynamic call if you use "cancel" stament then
the ws variables of the sub program are initialised.
if you dont use cancel statement and call the subprogram
then the latest values are retained for the WS vriables.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Write some characteristics of cobol as means of business language.
What are the different open modes available in cobol?
explain sorting techniques in cobol program?
What is the difference between binary search and sequential search?
What are all the divisions of a COBOL program?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What type of SDLC u followed? Why?
How do you reference the following file formats from cobol programs?
example for sub strings ? and refernce modifications whit output pls
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What are the different rules to perform a Search?
What is the difference between Call and a Link?
Describe the cobol database components?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad