Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.

Answers were Sorted based on User's Feedback



In COBOL CALL-CALLING,if a program A is calling 3 sub- programs, dynamically, then it is said sub-p..

Answer / adarsha

The DYNAMIC call has to have 2 load modules separately.
Hence the called module is always in the INITIAL state, you
need not to INITIALIZE or CANCEL.

For STATIC CALL above said things are other way around !

Hope I answered ... lem me know if you have any qustns

Is This Answer Correct ?    5 Yes 0 No

In COBOL CALL-CALLING,if a program A is calling 3 sub- programs, dynamically, then it is said sub-p..

Answer / 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

In COBOL CALL-CALLING,if a program A is calling 3 sub- programs, dynamically, then it is said sub-p..

Answer / vinay sonar

NO NEED TO USE CANCLE EVERY TIE.WHEN SUBPROGRAM IS CALLED IT IS ALWAYS IN ITS INITIAL STATE.THIS IS COBOL 85 FEATURE.

Is This Answer Correct ?    1 Yes 1 No

In COBOL CALL-CALLING,if a program A is calling 3 sub- programs, dynamically, then it is said sub-p..

Answer / kingmanish

The dynamically called program is loaded once a call is
made to it dynamically by a calling program.
The program is initialised only when it is called for the
first time and remains in memory till the end of calling
program.

After the first call from second call onwards the called
program should be initialised.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is the file organization clause ?

2 Answers  


what is rediffine clause?in what situation it can use?give me real time example?

1 Answers   IBM,


how would find total records in files using seqientional

1 Answers   HSBC,


How is sign stored in Packed Decimal fields and Zoned Decimal fields?

6 Answers   ABC, HCL, TCS,


wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?

2 Answers   EDS,


What is the difference between index and subscript?

5 Answers   Visa,


what is jcl approach for programming?

4 Answers   IBM,


what is the difference between implicit and explicit scope terminator with example? 

1 Answers  


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


how can i see junk values in dclgen or in hostvariable of comp ?

0 Answers   DELL,


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

0 Answers  


How do we get current date from system with century?

2 Answers  


Categories