In COBOL CALL-CALLING,if a program A is calling 3 sub-
programs, dynamically, then it is said sub-programs will
always will always in Initial Mode. My question is : Do we
need to code CANCEL or (IS INITIAL) for dynamically called
sub-programs or it is the property of Dynamically called
pgms so every time sub-pgms are called they will be in initial
mode. ***This question is only Dynamic call****,
Please reply. Thank you in advance.
Answer Posted / garry
Thanks Adarsha,
I agree to that. But just wondering why it is said that CANCEL will work only with DYNAMIC Call. If dynamically called PGMs are always in initial mode/state then CAncel has no meaning for dynamic call. I hope u get my confusion regarding this.
Pls reply
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is inspect in cobol ?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How do you reference the fixed block file formats from cobol programs
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Explain about different table spaces.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is a scope terminator give example?
What do you understand by psb and acb?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What are 77 levels used for?
What are all the divisions of a COBOL program?