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

which is better either static call or dynamic call?
and why?

Answer Posted / suresh ramaiyan

Static call:
============
Main program load module will have sub program load module in itself. So when there is a call made to a sub program, it won't go outside of the current load.

Dynamic call:
=============
Main & Sub program will have two different modules. When there is call to a sub program, system will go and search for the load module in the joblib.

Both have advantages.
1. If the sub program is going to be changed oftentimes, then Dynamic call is better.
2. Think that, for one call, system should to the load library and search for sub program module. when it is found, load that into main memory & pass the control to that and run. when that is finished, remove it from main memory. If the sub program is getting called 1 lack times then?........... In this case, Better to use static.

I believe, you understand. Please correct me if I'm wrong.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we redefine the field of x(200) to less than 200?

1429


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2134


how do you reference the ksds vsam file formats from cobol programs

1245


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

1391


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1209


Write some characteristics of cobol as means of business language.

1196


Are you comfortable in cobol or jcl?

1089


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5426


what is the use of outrecord?

2271


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1217


In COBOL, what is the different between index and subscript?

1279


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

2728


How do get the result of your program directly on your pc?

2394


What is rmode(24)

1196


what is search and searchall?what is the diffrence between them?give an best example?

6919