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

Using EXEC CICS LINK option


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Prase

New User


Joined: 07 Oct 2011
Posts: 6
Location: INDIA

PostPosted: Thu Mar 28, 2013 1:03 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 28, 2013 2:32 pm
Reply with quote

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
View user's profile Send private message
Prase

New User


Joined: 07 Oct 2011
Posts: 6
Location: INDIA

PostPosted: Thu Mar 28, 2013 3:12 pm
Reply with quote

Thankyou Robert.

But I already tried the EXCI option, but my job abended with the message "THE MODULE DFHXCIS NOT FOUND". I cannot paste the code here, since i'm working in a restricted work area. I referred the following link for coding.

publib.boulder.ibm.com/infocenter/cicsts/v2r3/index.jsp?topic=/com.ibm.cics.ts23.doc/dfhtm/dfhtm4b.htm

I'm not looking for easier or cheaper solution, but a working solution. Kindly excuse me.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Thu Mar 28, 2013 8:24 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 28, 2013 8:43 pm
Reply with quote

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
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts SCOPE PENDING option -check data DB2 2
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 JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top