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

What is rmode(24)

682


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10633


how do you reference the variable block file formats from cobol programs

688


What is Pic 9v99 Indicates in COBOL?

729


How do u write test cases?

1640






How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


i want a program using by if, evaluate , string, unstring, perform, occurs?

4065


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

859


What is the difference between comp and comp-3 usage?

681


What are the different rules to perform a Search?

619


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

744


How to print 10 to 1 if the input have only 10 digit number?

813


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

714


Why did you choose to work with ibm mainframe cobol programming?

631


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

691