IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

static and dynamic call.


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prabhucs01
Warnings : 1

New User


Joined: 07 Mar 2005
Posts: 43

PostPosted: Wed May 04, 2005 9:08 am
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
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Wed May 04, 2005 10:54 am
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
Reply with quote

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

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Mon May 23, 2005 5:39 pm
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: 252
Location: India

PostPosted: Mon May 23, 2005 5:40 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
Search our Forums:

Back to Top