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

CICS bakground program - compilation and binding issues


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
alan_blore

New User


Joined: 01 Aug 2007
Posts: 50
Location: Hosur

PostPosted: Tue Oct 20, 2009 5:10 pm
Reply with quote

Hi,

I have a doubt in binding and compiling of a CICS program which is executed in background mode.

There is a CICS program PGMAA which calls a CICS program PGM01 every two minutes if PGM01 is enabled.

PGM01 also calls PGM02, PGM03, PGM04, and PGM02 inturn calls PGM05

Now I have changed only one COBOL statement in PGM01 alone.

What should be the compile and bind order?

Apologize, if it a resolved query - as i didn't get the result in search, please let me know the link if so.

Thanks
alan
Back to top
View user's profile Send private message
sriram.mukundan

New User


Joined: 20 Nov 2007
Posts: 28
Location: chennai

PostPosted: Tue Oct 20, 2009 5:35 pm
Reply with quote

Only PGM01 requires recompilation and not any other modules.

when you do changes to PGM05 then you have recompile PGM05,PGM02,PGM01 if its a static call from the PGM01.

when it is a dynamic call, then PGM05 alone needs recompilation, when you do changes to the PGM05
Hope i anwered for your question.

Plese let me know what experts say...
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: Tue Oct 20, 2009 6:16 pm
Reply with quote

Background mode has nothing to do with it. The question is, are these EXEC CICS LINK calls or program code CALL statements? Dynamic CALL statements are resolved at run time so only the program you change would need compiling, unless the binder has INCLUDE statements for some reason.
Back to top
View user's profile Send private message
sriram.mukundan

New User


Joined: 20 Nov 2007
Posts: 28
Location: chennai

PostPosted: Tue Oct 20, 2009 6:30 pm
Reply with quote

Background mode is not necessary in this case. I just said as an example for him to understand more. Dynamic calls are resolved at run time.

i accept your comments.
Back to top
View user's profile Send private message
alan_blore

New User


Joined: 01 Aug 2007
Posts: 50
Location: Hosur

PostPosted: Wed Oct 21, 2009 6:57 pm
Reply with quote

Thanks Robert and Sriram

All the calls from PGM01 are EXEC CICS LINK calls

To reiterate - I'm gonna compile and Rebind PGM01 (the changed code) alone.

Thanks
alan
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top