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
how to convert the recors form vsam file to db2 table tru file aid
i want a program using by if, evaluate , string, unstring, perform, occurs?
how do you reference the variable block file formats from cobol programs
What are literals?
What are the different rules of SORT operation?
how do you reference the esds vsam file formats from cobol programs
Are you comfortable in cobol or jcl?
What is the difference between next sentence and continue in cobol programing language?
How you can read the file from bottom?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
example for sub strings ? and refernce modifications whit output pls
Write down the divisions of cobol program?
What is Pic 9v99 Indicates in COBOL?
What is length is cobol?
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?