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


Please Help Members By Posting Answers For Below Questions

example for sub strings ? and refernce modifications whit output pls

1846


What is the Purpose of POINTER Phrase in STRING command in COBOL?

721


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

684


How do we get current date from system with century in COBOL?

805


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

2723






I have a File that has duplicate records. I need only those records that occur more than thrice.?

8656


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

897


What is the compute verb? How is it used?

661


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

748


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?

700


State the various causes of s0c1, s0c5 and s0c7.

664


how to move the records from file to array table. give with code example

2219


When is inspect verb is used in cobol?

675


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

710


HOw can I get the negative sign while deduct high value from low value

1790