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

What are differences between Static Call and Dynamic Call?

Answer Posted / rajesh

There are lot of differences. Some of them are

1.If you call the subprogram by hardcoding it into the
program it is known as static program whereas calling the
subprogram by means of a working storage variable is known
as dynamic call.

Static call: CALL ''SUBPRG1''
Dynamic call: CALL WS-SPRGNAME

2.If you want to execute the modules with static call, the
load module will collectively contain the loadlibs of all
the modules involved.(Both calling and the called).

In case of Dynamic the loadlib contains the loadmodule of
the calling module alone.

3.If u want to call programs depending on some condition
(ie not every time with calling pogram must use Dynamic
call).If subprograms need to be called for everytime with
callling programs must use static call.

4.The module involving static call takes more time in
compilation process whereas dynamic takes more time to run.

These are some of the major differences.Please let me know
if i m wrong anywhere.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the LINKAGE SECTION used in COBOL?

1530


How do u write test cases?

2070


What are all the divisions of a COBOL program?

1219


Explain how you can characterize tables in cobol?

1063


how to convert the recors form vsam file to db2 table tru file aid

3268


What are the different rules for performing sort operation?

1227


Why would you use find and get rather than to obtain?

1187


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2476


What is amode(31)

1178


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1152


What is the difference between next sentence and continue in cobol programing language?

1228


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1213


Can we change the password using ALTER? anyone tried and changed?

2021


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2474


Are you comfortable in cobol or jcl?

1051