× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



<If you use DSPFD of the affected file, specifying TYPE(*TRG), you can 
verify
that the trigger is defined correctly, as to before/after,
insert/update/delete.>

When I have to make a mod to the trigger program, I use dspfd to ensure 
the triggers are properly defined. 

<Anything in this person's joblog to indicate an error?> 

Job log shows nothing abnormal.

<May be this option

Trigger update condition . . . .   *ALWAYS       *ALWAYS, *CHANGE(second 
page)>

Triggers are applied after an add and after a change.


FYI - I'm using the trigger template programs (from an article in eServer 
magazine) by Jon Paris & Susan Gantner to be able to assign the trigger at 
the field level during an update (see link below). Yesterday, I discovered 
that I didn't have null field support enabled in one program, and when a 
field changed from a non-blank to a blank value the field level change was 
not detected. That has since been corrected.

But that doesn't remedy my situation as the original trigger problem is 
related to a non-blank value being changed to different non-blank value.

http://eservercomputing.com/iseries/articles/index.asp?id=169&dir=/iseries/articles/

Again thanks for the replies.


Regards,

Gerald Kern
IBM Certified AS/400 RPG IV Developer & RPG IV Programmer
MIS Project Leader, Lotus Notes/Domino Administrator
The Toledo Clinic, Inc.
4235 Secor Road
Toledo, OH 43623-4299
Phone 419-479-5535
gkern@xxxxxxxxxxxxxxxx

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.