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
 
Regardin differance between Dynamic call nd Static call

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
sudhee_rb

New User


Joined: 29 Mar 2006
Posts: 28

PostPosted: Wed Mar 29, 2006 8:39 pm    Post subject: Regardin differance between Dynamic call nd Static call
Reply with quote

Hi
This is sudheer,

i have a doubt about

1)how can i link edit static call and dynamic call?
2)can we change static call in to dynamic call?

Any body could please give the answers with jcl code examples.

Bye
Back to top
View user's profile Send private message
References
DavidatK

Senior Member


Joined: 22 Nov 2005
Posts: 715
Location: Troy, Michigan USA

PostPosted: Sun Apr 02, 2006 9:44 am    Post subject: Re: Regardin differance between Dynamic call nd Static call
Reply with quote

sudhee_rb,

Check your Linkage Editor options. I think what you are looking for is DYNAM/NODYNAM options. If DYNAM is specified, even the calls in your Cobol program in ?QUOTES? will be dynamic.

Dave
Back to top
View user's profile Send private message
balusengodan

New User


Joined: 01 Mar 2005
Posts: 16
Location: chennai

PostPosted: Mon Apr 10, 2006 7:19 pm    Post subject:
Reply with quote

hi,

static call is a call which calls the subprogram using the programs name in the calling statement directly. where as it is link edited to the main program during compile time itseld

where as in the case of dynamic call the sub program is called by using variable name which is obtained during runtime of the program
so it get link edited to the main program during runtime only

if it is wrong please correct me
thanks
balu.s
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1