View previous topic :: View next topic
|
Author |
Message |
alan_blore
New User
Joined: 01 Aug 2007 Posts: 50 Location: Hosur
|
|
|
|
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 |
|
|
sriram.mukundan
New User
Joined: 20 Nov 2007 Posts: 28 Location: chennai
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
sriram.mukundan
New User
Joined: 20 Nov 2007 Posts: 28 Location: chennai
|
|
|
|
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 |
|
|
alan_blore
New User
Joined: 01 Aug 2007 Posts: 50 Location: Hosur
|
|
|
|
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 |
|
|
|