Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
static and dynamic call.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
prabhucs01

New User


Joined: 07 Mar 2005
Posts: 40

PostPosted: Wed May 04, 2005 9:08 am    Post subject: static and dynamic call.
Reply with quote

CALL 'SUBPROG1' USING WS-EMP-REC, WS-PROD-REC

1)if in this call the subprogram name remains same but if the arguments

value differs during the run time or during the course of operation, then is

this a Static call or Dynamic call.

2) what are ways in which the arguments value could be changed?
Back to top
View user's profile Send private message
References
kanak

Moderator


Joined: 12 Mar 2005
Posts: 259
Location: India

PostPosted: Wed May 04, 2005 10:54 am    Post subject:
Reply with quote

1.) static call or dynamic call totaly depends upon the way you have created ur load module.In the case that you have mention can be either of them based upon the copiler option given by you.IF you have given compiler option as NODYNAM then in any case it will be dynamic, where as if it is DYNAM then it is dynamic call.

2.)No idea.
Back to top
View user's profile Send private message
dearhari2155

New User


Joined: 23 May 2005
Posts: 2

PostPosted: Mon May 23, 2005 5:35 pm    Post subject:
Reply with quote

icon_exclaim.gif
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 259
Location: India

PostPosted: Mon May 23, 2005 5:39 pm    Post subject:
Reply with quote

hey sorry for last post..in case it should be static. icon_idea.gif
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 259
Location: India

PostPosted: Mon May 23, 2005 5:40 pm    Post subject:
Reply with quote

i think i m sleeping...
in nodynam option it will be static and in dynam it will dynamic call...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1