"Al Barsa, Jr." wrote: > > At 10:50 AM 10/28/99 -0400, you wrote: > >What if the file being updated (generating the trigger) is not in the > >library list ? > > > The parameter being passed to the trigger program will have all the data > necessary for the update. You should not need library list access to the > file unless the trigger program also attempts to open it. > > Al To be more specific - when a record is updated/deleted in one file I must update records in a second file. These files should both reside in the same library but they may or may not be the files currently in the library list. Doug Handly described using the library name from the trigger buffer and doing an OVRDBF / Useropen of the file in RPGLE. How does this compare performance wise with using a 'C' program which can do a qualified file open ? thanks John +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: firstname.lastname@example.org +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.