While there have been many suggestions, the best method that I have
found is to install and setup this utility.
Command MONIFS (Monitor IFS events)
You can have some programs of yours getting control on events
occurring on the IFS by using commmand IFSTOOL/MONIFS.
The basic requirement is that Audit Journal is active on your
system.
If you do not know how to implement this, just run the following
commands:
CRTJRNRCV JRNRCV(QSYS/QAUDJRNRCV) AUT(*ALL)
CRTJRN JRN(QSYS/QAUDJRN) JRNRCV(QSYS/QAUDJRNRCV) AUT(*ALL)
CHGSYSVAL SYSVAL(QAUDCTL) VALUE(*AUDLVL)
CHGSYSVAL SYSVAL(QAUDLVL) VALUE('*CREATE *DELETE *OBJMGT')
Command IFSTOOL/MONIFS starts, on database file IFSTOOL/MONIFS,
a non- ending trace of IFS events.
We suggest that you run this command in batch, example:
sbmjob monifs jobq(qsysnomax) cmd(IFSTOOL/MONIFS)
By adding triggers (command ADDPFTRG) to this database, you may
obtain on the IFS the same level of control / automation that you may
achieve on files of the library system.
This command operates receiving Audit Journal entries.
The user profile running this command must have special
authority *AUDIT.
The following events are detected:
Create
Delete
Move / Rename
Restore
Authority change
Ownership change
Michael Smith
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Brian Piotrowski
Sent: Thursday, January 07, 2010 2:31 PM
To: Midrange Systems Technical Discussion
Subject: Job Triggering on FTP Completion
Hi All,
Are there any processes or method in the 400 that will cause a job to be
executed once an FTP job has been completed? We have one of our
suppliers send us a series of FTP files that we process at a set time
through the job scheduler. Although the file transfers end usually at a
specific time, there are times where the file is delayed and it might
not finish until later. We are looking to execute a processing job as
soon as the last file is transferred to us. So with that said, what's
the easiest way to accomplish this task?
Any advice would be appreciated.
Thanks!
/b;
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Brian Piotrowski
Assistant Mgr. - I.T.
Simcoe Parts Service, Inc.
Ph: 705-435-7814 x343
Fx: 705-435-6746
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
http://www.simcoeparts.com
As an Amazon Associate we earn from qualifying purchases.