View previous topic :: View next topic
|
Author |
Message |
asvijay
New User
Joined: 13 Jul 2006 Posts: 11
|
|
|
|
Hi,
Is there any keywords in cobol program to mention/identify whether the subroutine is called using DYNAMIC or STATIC call? I know the option can be given in the compiler. but i want to know in cobol program. pls help me out. |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Subroutine calls like
CALL WS_SUBR_NAME USING ARG1.
Are always dynamic.
Subroutine calls like
CALL 'SUBNAME' USING ARG1.
Can be either Static or Dynamic, depending on the compiler options. To make a determination, you will first have to look at the compiler options.
Dave |
|
Back to top |
|
|
asvijay
New User
Joined: 13 Jul 2006 Posts: 11
|
|
|
|
Thanks dave... |
|
Back to top |
|
|
|