What changes required for changing Static calling to dynamic calling

2 posts / 0 new
Last post
Offline
Joined: 07/25/2010 - 17:26
What changes required for changing Static calling to dynamic calling

 

 

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.

Offline
Joined: 07/07/2011 - 19:59
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!

Log in or register to post comments
Sponsored Listing

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

 

Share this if you liked it!

 

Disclaimer

Navigation