View previous topic :: View next topic
|
Author |
Message |
Prase
New User
Joined: 07 Oct 2011 Posts: 6 Location: INDIA
|
|
|
|
Hi,
I want to trigger a CICS program through Cobol program. In this forum itself, it was already suggested to use EXEC CICS LINK as it is the simplest way. The problem here is, when i give EXEC CICS, the program will be compiled as online module, not as batch module and triggering the pgm through the job is difficult.
Can anyone suggest a way to trigger the CICS program through the batch module or trigger it through a JCL ? Please help...
PS : Changeman is used for Compilation. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
1. You don't "trigger" programs in CICS, you execute them.
2. Changeman is completely irrelevant to your post.
3. IBM provides EXCI and FEPI interfaces for batch programs to start CICS transactions already, you should be using one of these API.
4. You tried to avoid EXCI and FEPI by using EXEC CICS LINK and now you've found that doing something the cheaper, easier way to avoid the work of doing it the right way has a cost -- AND you want us to help you figure out the cheaper, easier way? Consider this a lesson well learned and spend the time / effort to learn the IBM-approved way of having batch programs interact with CICS. |
|
Back to top |
|
|
Prase
New User
Joined: 07 Oct 2011 Posts: 6 Location: INDIA
|
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Quote: |
but my job abended with the message "THE MODULE DFHXCIS NOT FOUND". |
That module is in the SDFHEXCI library. Is that library available to your job?
Garry. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
You really, DESPERATELY, need to talk to your site support group. If your site is not set up to use EXCI in its standard CICS compile process, there may be a different compile process set up for EXCI programs. Or your site support group might need to set up one. But in any case the question of using EXCI (whether it is possible, how to do so) at your site is an issue that can only be addressed and resolved by someone working at your site.
I'm not sure what it is a sign of that you did not contact your site support group to find out how to use EXCI at your site, but you certainly should have done so before posting anything on this forum. Especially if, as you say, you are working in a "restrictred work area" as you should be given the tools needed to accomplish the tasks assigned to you. |
|
Back to top |
|
|
|