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 difference between comp and comp-3?

1227


what is the difference between COBOL2 AND COBOL390?

3112


) how do u code after getting data?

2208


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2605


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

1391


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

2134


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6663


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3317


What is the difference between structured cobol programming and object alternativelyiented cobol?

1296


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1151


Can a Search can be done on a table with or without Index?

1330


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

2077


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4208


What is the difference between Call and a Link?

1262


What are the different rules for performing sort operation?

1278