Do you have a trigger example in RPG when a record is deleted in a table X, the trigger program goes to delete...
a similar record in a table Y. All the examples I have seen is with the event *Insert.
I don't have an example that I can post showing a delete, but it would be similar to an insert. The differences are that there is no after image. The passed image contains the original record (before) in the parameter passed to the trigger program. The trigger event will be a '2'.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
Search400's targeted search engine: Get relevant information on RPG.
Dig Deeper on iSeries ILE programming
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.