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
How do u write test cases?
What is a scope terminator give example?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
) How do u handle errors in BMS macro?
What is static and dynamic call in cobol?
how do you define single dimensional array and multidimensional array in your cobol?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is the LINKAGE SECTION used in COBOL?
explain sorting techniques in cobol program?
how do you reference the esds vsam file formats from cobol programs
What is perform what is varying?
How you can characterize tables in cobol?
What is amode(24)?