Q
Problem solve Get help with specific problems with your technologies, process and projects.

Working with an invoked trigger

I'm learning about the use of triggers. If the program trigger is canceled, how can I send a message to the application user program that has invoked the trigger?

An external trigger must send an escape message to notify the invoking application that an error has occurred. SQL triggers need to use the SIGNAL statement to send an exception back to the application. You can find coding examples of each in the "Triggers & Stored Procedures on DB2 UDB for iSeries" Redbook here.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Search400.com's targeted search engine: Get relevant information on DB2/400.

The Best Web Links: tips, tutorials and more.

Check out this online event, Getting the Most out of SQL & DB2 UDB for the iSeries.


Dig Deeper on Oracle on iSeries

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close