Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

static call & dynamic call

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
amar

New User


Joined: 13 Oct 2004
Posts: 2
Location: hyderabad

PostPosted: Wed Oct 13, 2004 12:29 pm    Post subject: static call & dynamic call
Reply with quote

hi,
i have a dought. when u r using sub programs, i made some changes in sub program. is it necessary to recompile again the main program in staticall and dynamic call.
regards
amarnatrh
Back to top
View user's profile Send private message

sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 151
Location: Tokyo, Japan

PostPosted: Wed Oct 13, 2004 1:18 pm    Post subject:
Reply with quote

Hi Amar,

The answer is in ststic call "YES" and in dynamic call "NO".

Regards,
Sandip.
Back to top
View user's profile Send private message
amar

New User


Joined: 13 Oct 2004
Posts: 2
Location: hyderabad

PostPosted: Wed Oct 13, 2004 3:00 pm    Post subject:
Reply with quote

hi sandeep,
thanks for u r answer.
again i have the dought. in static call, both the will compiled together.
so there is no need to compile the main program. where as in dynamic call both will seperatly compiled. so there is necessary to recompile the main program.
plz clarify
regards
amar
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Thu Oct 14, 2004 4:21 pm    Post subject:
Reply with quote

In static linking, the called subroutine is link-edited into the calling program , while in dynamic linking, the subroutine & the main program will exist as separate load modules
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Oct 16, 2004 4:16 am    Post subject:
Reply with quote

Just to emphasize Anu's point, you DON'T recompile, you reLINK the subpgm.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us