|
If you're checking for the existence of a stream file in a particular
directory I wonder if this could be used:
QIBM_QP0L_SCAN_CLOSE (Integrated File System Scan on Close exit program)
is called during close processing such as with the close() API. This exit
program must be provided by the user.
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/ifscloseexit.htm
Theory being, if someone drops in a stream file into a particular
directory (via ftp, netServer, etc) then execute your program.
This way you do not have your NEP checking on a periodic basis. As soon
as the file is closed this program would be called.
WRKREGINF QIBM_QP0L_SCAN_CLOSE
Haven't played with it myself.
Original intent is so that Bytware StandGuard anti-virus would scan stream
files immediately upon close.
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
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.