Skip to Content
Custom Search

What changes required for changing Static calling to dynamic calling

1 reply [Last post]
siteadmin
Offline
Joined: 07/25/2010
Posts:

 

 

In our system we are using static calling, if I were to change this to dynamic calling what all changes would I need?

I can think of the following...

1. Calling subprograms program using identifier instead of literals

2. Compiling programs using DYNAM option instead of NODYNAM.

 

My question is would any changes be required in link members of programs?

Also since dynamic requires each module to have individual load, would a link be required for all the modules?

 In static we have links code only for main programs.

Sponsored Listing
Alan.R.Wynne
Offline
Joined: 07/07/2011
Posts:
Converting static to dynamic.

You have pretty much hit the nail on the head.

i.e.:

move 'PGMNAME' to WS-PGM
CALL WS-PGM

w.r.t. linking. All programs that are going to be dynamically linked will still need to be link edited before being placed into the joblib/steplib library they are going to be loaded from. i.e. they will need to be linkedited as a main program.

this is not really my area of expertise so i do speak under correction here. Best bet is to try it out!

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Who's online

There are currently 0 users and 27 guests online.
Dr. Radut | forum