View previous topic :: View next topic |
Author |
Message |
Devi Beginner
Joined: 29 Oct 2004 Posts: 6 Topics: 3 Location: chennai
|
Posted: Wed Jun 22, 2005 7:12 am Post subject: call by identifier with NODYNAM option |
|
|
Hi
If i Compile the following program with NODYNAM option.
MOVE 'SUBPROGRAM' TO WS-VAR1.
CALL WS-VAR1.
How subprogram will be linkedited.. dynamically or statically.
thanks in advance. _________________ "A faithful friend is the medicine of life." |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Jun 22, 2005 7:53 am Post subject: |
|
|
Devi,
A CALL 'identifier' is always dynamic, even if you use the NODYNAM compiler option. Using the format CALL identifier, where the identifier is a data item that will contain the name of the called program at run time will result in a Dynamic load of the identifier.
Hope this helps...
Cheers
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|