× 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.



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
This is perfect.  Now, one question about the QAUDJRN journal - should this
be system managed or user managed?  Mine is currently set to user managed
but I think that's just because I created it some time ago when system
management was not an option.

Dave

-----Original Message-----
From: Njål Fisketjøn [mailto:n.f@figu.no]
Sent: Wednesday, October 09, 2002 6:42 PM
To: mi400@midrange.com
Subject: RE: [MI400] Library trigger


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.




_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/mi400
or email: MI400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.


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.