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
Can you please let me know the centre name of INS certification in Kolkata.
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
i want a program using by if, evaluate , string, unstring, perform, occurs?
Explain the configuration section of a cobol program with examples of syntax.
What is perform what is varying?
State the various causes of s0c1, s0c5 and s0c7.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Define cobol?
What kind of error is trapped by on size error option?
Can we change the password using ALTER? anyone tried and changed?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the utilization of copybook in cobol?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
how do you reference the ksds vsam file formats from cobol programs
What are the different types of condition in cobol and write their forms.