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

Can a DB2 trigger call CICS program instead of a stored proc


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Rajendra Kumar

New User


Joined: 26 Jun 2009
Posts: 13
Location: Hyderabad

PostPosted: Tue Jun 30, 2009 6:43 pm
Reply with quote

Hi,

I am having a requirement where I am Invoking a Stored proc in a Trigger and this Stored Proc in turn calls the CICS program for further process.

Right from Trigger onwards I am just passing the data(4 field values of a DB2 table) to stored proc and the stored proc again sends the same to CICS program.

So,Is there way where I can call the CICS program directly in the Trigger instead of using a Stored Proc as Intermediate.

Plz let me know the syntax also.

Thanks in advance for the help.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jun 30, 2009 7:04 pm
Reply with quote

A few links to reference material (Redbooks):

Stored Procedures, triggers and UDF's

DB2 for z/OS Application Programming Topics

DB2 9 for z/OS Stored Procedures: Through the CALL and Beyond...

DB2 for z/OS Stored Procedures: Through the CALL and Beyond...
Back to top
View user's profile Send private message
Rajendra Kumar

New User


Joined: 26 Jun 2009
Posts: 13
Location: Hyderabad

PostPosted: Wed Jul 01, 2009 2:27 pm
Reply with quote

I tried looking the Manuals but I was not able to get the information.
Back to top
View user's profile Send private message
abhi_srk

New User


Joined: 13 Aug 2008
Posts: 1
Location: Bangalore

PostPosted: Wed Jul 27, 2011 11:54 am
Reply with quote

Hi,,

Can you paste your trigger body & Strored proc ??

i can suggest on this,,,,
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jul 27, 2011 7:52 pm
Reply with quote

Hello and welcome to the forum,

Please note that is is best to reply to active topics rather than those that have been inactive for a long time (i.e. in thius case 2 years).
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
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 Parallelization in CICS to reduce res... CICS 4
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top