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

Recompiling static linked programs


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

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Thu Mar 07, 2013 10:27 pm
Reply with quote

Hi,

I have a few CICS programs and subroutines which use LINK and XTCL as below:

In "PROGRAMA":
Code:
EXEC CICS XCTL PROGRAM('PROGRAM1')


In "PROGRAMB":
Code:
EXEC CICS LINK PROGRAM('PROGRAM1')


When I am changing PROGRAM1, do i have to recompile both PROGRAMA and PROGRAMB and linkedit? I know if its a static CALL i will have to recompile but not sure about LINK and XCTL. Please help
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Thu Mar 07, 2013 10:37 pm
Reply with quote

hiravibk wrote:
When I am changing PROGRAM1, do i have to recompile both PROGRAMA and PROGRAMB and linkedit?
No ...
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 07, 2013 10:42 pm
Reply with quote

EXEC CICS LINK and EXEC CICS XCTL programs must be defined to CICS although they may be autoinstalled if autoinstall is being used. Since each program is independent, you can change PROGRAM1 without having to recompile PROGRAMA or PROGRAMB -- although if the change includes the DFHCOMMAREA definition, you need to recompile both of them.
Back to top
View user's profile Send private message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Thu Mar 07, 2013 10:48 pm
Reply with quote

Thank you so much Binop, Robert. Thats such a sigh of relief!
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 Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts Recompiling programs after a copybook... COBOL Programming 1
No new posts Can you give me examples of programs ... CLIST & REXX 22
Search our Forums:

Back to Top