Hi, Eric,

Is this related to your prior e-mail about creating an archive of source members each time they are changed?  I do not think a "trigger" is the way you want to do this.  :-/

A trigger will "fire" on each and every record added, changed or deleted.  

But, when using SEU, or RDi, etc., the editor reads the entire member into the editor buffer, then you edit that, and when you press F3=Exit or type a SAVE command, it then rewrites the entire member.  So, the "trigger" is "fired" (called) for an INSERT for every record in the member.  :-o

That is not going to tell you "what changed."

Are you familiar with the IBM CMPPFM command?  PDM option 54, IIRC. Try it!  It is based on the IBM mainframe SUPERC tool. :-)   Similar to "diff" in the Unix/Linux world. ;-)

Hope that helps.

All the best,

Mark S. Waterbury

On Thursday, November 7, 2024 at 11:14:17 AM EST, eric bothes <iseriesstuff@xxxxxxxxx> wrote:

i want to create a trigger over a source pf. how can i tell what member
is being updated? looks like the trigger program receives the old and
new buffer but i dont see any member info shown

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.