• Subject: Re: triggered file list problem
  • From: John Hall <jhall@xxxxxxxxxxx>
  • Date: Fri, 29 Oct 1999 14:15:11 -0400



"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: david@midrange.com
+---

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].