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
Write the code to count the sum of n natural numbers.
what is the use of outrecord?
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?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Write a program to enter and display the names of students in a class using the occurs clause.
Explain the configuration section of a cobol program with examples of syntax.
What is the difference between Call and a Link?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
In COBOL, what is the different between index and subscript?
How do you reference the following file formats from cobol programs?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the difference between external and global variables in COBOL?
What are declaratives and what are their uses in cobol?
How do get the result of your program directly on your pc?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.