|
David Leland wrote: > Anyone know of a way (outside of having a constantly running monitor > program) to automatically trigger an event when an object is placed in a > library? I would like to create a library that, when a user > creates a file > in it (typically using Query), a trigger program of some type would > automatically FTP that file somewhere. Create a journal receiver, create the journal QAUDJRN and attach it to the receiver. Change the system value QAUDCTL to *AUDLVL and the system value QAUDLVL to include the special value *CREATE. Use an exit program on the RCVJRNE in a batch (e.g. autostart) job to retrieve audit entries and perform the necessary processing.
As an Amazon Associate we earn from qualifying purchases.
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.