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



Hello Blair,

You can find an article explaining as well as code demonstrating the
Monitor IFS Journal approach here (tip #2):
http://systeminetwork.com/article/6-ftp-tips-iseries

Note that the setup of the Receive Journal Entry (RCVJRNE) command
ensures that journal entries are processed immediately, while the
RCVJRNE will wait for up to 25 seconds (in the above example) for new
entries to arrive, without consuming CPU cycles while waiting. Every 25
second the exit program will be allowed to check if a controlled end of
job/subsystem/system has been requested, to ensure that the journal
monitor is ended gracefully. There's of course also the issue of
checking whether the file transfer has completed before starting
processing the file, but that's also taken care of in the sample code.

Let me know if you have any questions.

Best regards,
Carsten Flensburg


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Blair Hamren
Sent: 7. juli 2008 14:59
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?



This communication is intended only for use by the addressee. It may contain confidential or privileged information. If you receive this communication unintentionally, please inform us immediately and delete this e-mail and any attachments. Warning: Although we have taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

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.