Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 6968
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us