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...


Please let me know at which Scenarios we will go for STATIC
call or DYNAMIC

Answers were Sorted based on User's Feedback



Please let me know at which Scenarios we will go for STATIC call or DYNAMIC..

Answer / gopikrishna

Dynamic calls are used when subprogram is called frequently.
===>
As far as i know, when submprogram is small it is better to
make static calls

Is This Answer Correct ?    3 Yes 1 No

Please let me know at which Scenarios we will go for STATIC call or DYNAMIC..

Answer / gopikrishna

If it is static call. More memory will be utilized as the
called program is also included in the compilation.
Compilation mightslightly take more time when comapred with
dynamic calls.Dynamic calls are always done at run time
and execution time for Dynamic calls might be more than
static calls.

Usage of static and dynamic calls depends on your
requirement, based on specific condition- Say when Var1=0 u
need to call PGM1 and whn Var1=1 u need to call PGM2 then u
have to go for dynamic call.

Is This Answer Correct ?    1 Yes 0 No

Please let me know at which Scenarios we will go for STATIC call or DYNAMIC..

Answer / mahesh

Dynamic calls are used when subprogram is called frequently.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More COBOL Interview Questions

In INITIALIZE what is Repalcing Word will do

1 Answers   CTS,


sample code for read a 2nd record from last in flatfile how can do?

4 Answers   iNautix,


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

0 Answers  


consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

10 Answers   TCS,


Can we use redefine clause in occurs clause?

10 Answers  


can I copy book which contain db2 statment in procedure divion?

2 Answers   Bank Of America,


Write a program to concert an Indexed file into Sequential file?

1 Answers   Covansys,


Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be

7 Answers   TCS,


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.

0 Answers  


if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.

2 Answers   UST,


which one is better among static call and dynamic call?

3 Answers  


In COBOL "BEFORE" advancing is there or not ?

3 Answers  


Categories