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
 

 

CICS bakground program - compilation and binding issues

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: CICS bakground program - compilation and binding issues
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    Post subject:
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: 7936
Location: Bellevue, IA

PostPosted: Tue Oct 20, 2009 6:16 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS to Webservices safexc CICS 1 Sun Jan 22, 2017 5:49 pm
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 3 Thu Jan 19, 2017 1:31 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm


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