Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Recompiling static linked programs

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

Active User


Joined: 14 Dec 2008
Posts: 103
Location: India

PostPosted: Thu Mar 07, 2013 10:27 pm    Post subject: Recompiling static linked programs
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    Post subject: Re: Recompiling static linked programs
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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Thu Mar 07, 2013 10:42 pm    Post subject:
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: 103
Location: India

PostPosted: Thu Mar 07, 2013 10:48 pm    Post subject:
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    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 PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Why myself doing Package Bind always ... Susanta DB2 5 Thu Mar 02, 2017 10:47 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us