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 CICS to Webservices safexc CICS 1 Sun Jan 22, 2017 5:49 pm
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 3 Thu Jan 19, 2017 1:31 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm


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