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 / vivek

Rajagopalan's answer is the correct one.

Refer the IBM documentation.

http://publib.boulder.ibm.com/infocenter/pdthelp/v1r1/index.
jsp?topic=/com.ibm.entcobol.doc_3.4/tpsub04.htm

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you get the ksds file records into your cobol program?

636


Which division and paragraphs are mandatory for a COBOL program?

703


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

407


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2717


What are all the divisions of a COBOL program?

658






What is the use of intialize verb?

738


How many sections are there in data division in COBOL?

674


What are the various section in data division and briefly explain them.

684


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2654


Can you please let me know the centre name of INS certification in Kolkata.

1708


how do you reference the rrds file formats from cobol programs

786


Write the code to count the sum of n natural numbers.

696


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

693


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

705


example for sub strings ? and refernce modifications whit output pls

1833