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
 

 

Using EXEC CICS LINK option

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Using EXEC CICS LINK option
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Thu Mar 28, 2013 2:32 pm    Post subject:
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    Post subject: Reply to: Using EXEC CICS LINK option
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.

http://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

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Mar 28, 2013 8:24 pm    Post subject:
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Thu Mar 28, 2013 8:43 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts DIrect link of dynam/nodynam nkjain87 COBOL Programming 2 Mon Apr 24, 2017 6:23 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm


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