|
View previous topic :: View next topic
|
| Author |
Message |
dhananjay
New User
Joined: 01 Aug 2006 Posts: 4
|
|
|
|
| How will you identify whether running program is static or dynamic? |
|
| Back to top |
|
 |
priyesh.agrawal
Senior Member

Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Best way is to look for compiler option DYNAM/NODYNAM.
Anyway.. look how the the main program is calling SUB Program...
CALL WS-VARIABLE USING PARM-TEMP is a Dynamic Call, where you call a working storage variable and value of the sub program name is passed to the vaiable.
CALL <SUB-PRG-NAME> USING PARM-TEMP can be both static/dynamic. |
|
| Back to top |
|
 |
guptae
Moderator

Joined: 14 Oct 2005 Posts: 1209 Location: Bangalore,India
|
|
|
|
Hi There,
One more point by seeing the load of main program u can identify whether its calling sub program dynamically or statically.
Correction r welcome |
|
| Back to top |
|
 |
|
|