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



Blair,

My FTPTOOL utility should do the trick. You can set up monitors for
specific FTP commands, directories, user ids, etc. Or globally.

When the PUT command is executed by the USERID set up, you have an option to
add a "trigger" call to any program you want. All data from the command
(file name, directory, userid, etc) is available to be passed as a parm.

So, you would set up a command on the PUT FTP command like:

CALL MYPGM('&F' '&U')

This will call your program and pass the filname (fully qualified) and
userid that performed the operation.

The trigger is actually fired right as the PUT command is executed, not
after the file is complete.

I'm also happy to help set things up if need be. Feel free to contact me
offline with any questions.

Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Blair Hamren
Sent: Monday, July 07, 2008 7:59 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Monitor IFS in real time for FTP put (new files received)


We need to monitor the IFS in real time for new files received
via the FTP
'put' command. We have an application where a vendor's machine is
going to
FTP us a file when a group of orders is deposited at a wrapping
station. We
need to gather that information immediately and print invoices at that
wrapping station. Here is what the vendor has stated as givens:
1. They will only FTP the file to the IFS.
2. They will NOT send a line to submit an iSeries command as part
of the FTP
put.

We have looked at MONIFS command in IFSTOOL on www.easy400.net
but looking
deeper in the code, it monitors the journal once a minute. If I
change this
to look through every second, isn't this going to kill system performance.

Another option we may try is BVStool's FTPTOOL. The documentation
makes it
look promising based on this sentence: 'Add "triggers" that will run any
command or program when certain FTP commands are used'

Any other ideas?

Thanks in advance.

Blair Hamren


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.