View previous topic :: View next topic
|
Author |
Message |
nandinihb
New User
Joined: 10 Dec 2005 Posts: 11 Location: b'lore
|
|
|
|
hi all,
is it possible to know by seeing the cobol program itself whether it is using a static call or dynamic call
thanks |
|
Back to top |
|
|
kousalya26
New User
Joined: 06 Jul 2005 Posts: 21 Location: chennai
|
|
|
|
Hi nandini,
Quote: |
is it possible to know by seeing the cobol program itself whether it is using a static call or dynamic call
|
In the cobol program, if the call statement is like
CALL "literal" USING arguments
eg. CALL "PROGA" USING arguments
its a static call.
If the call statement is like
CALL variable USING arguments
eg. WORKING STORAGE SECTION.
01 PROG-A pic x(07) value 'PROGA'.
CALL PROG-A using arguments
its a dynamic call.
Well there are some discussion threads on this one of which is http://ibmmainframes.com/viewtopic.php?t=91&highlight=static+dynamic |
|
Back to top |
|
|
ap_mainframes
Active User
Joined: 29 Dec 2005 Posts: 181 Location: Canada
|
|
|
|
Yes..
Just in case anybody needs a document.
Here it is.
ap_mainframes |
|
Back to top |
|
|
tushar_zibbu
New User
Joined: 10 Jan 2006 Posts: 3
|
|
|
|
Yes Nandini, I do agree with him. This is the simplest way to identify a static and a dynamic call.
To add more to it, In a static call 1 loadlib or one can say 1 exe file is created whereas it is 2 in case of a dynamic call |
|
Back to top |
|
|
Visvanathan
New User
Joined: 25 Apr 2006 Posts: 5 Location: India
|
|
|
|
To add to this query..
1) My program does a STATIC call,while I compile, I do a DYNAM option and viceversa. I mean we contradict the calls at coding stage and during compilation stage. Is it feasible? If so how ?
thanks,
Visva. |
|
Back to top |
|
|
mfjude
New User
Joined: 09 Jan 2006 Posts: 20
|
|
|
|
You can't be sure about the nature of call from the program only.Its the complier option which ultimately decides what kind of call to make. |
|
Back to top |
|
|
|