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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Can a DB2 trigger call CICS program instead of a stored proc
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    Post subject:
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    Post subject:
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    Post subject: Re: Can a DB2 trigger call CICS program instead of a stored
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

Site Director


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

PostPosted: Wed Jul 27, 2011 7:52 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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