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



That is mentioned in the archive link below. Not sure about the issue mentioned regarding "files configured to be scanned" - never looked into it.

Honestly, a NEP would use very little resource - I wouldn't worry about that. I *might* be concerned about the timeliness/frequency of processing though and not getting the file prematurely.


Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power




________________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> on behalf of Chris Bipes <chris.bipes@xxxxxxxxxxxxxxx>
Sent: Monday, May 2, 2016 4:40 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Automated Job Processing

You can look at exit programs for the IFS. In particular QIBM_QP0L_SCAN_CLOSE

This exit program will be called every time an IFS file is closed. You can create a database with the directories to monitor. If the directory is not in the list, the exit program just ends with the appropriate exit code. If it is in the list, you can have an action to perform such as calling a program and passing the data from the exit point.


Chris Bipes
Director of Information Services
CrossCheck, Inc.

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Roger Harman
Sent: Monday, May 02, 2016 4:29 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Automated Job Processing

You can journal the IFS but you need to process the journal. Same issue you currently have as far as resource.

Another option might be to have an FTP logon exit program that could wake up your monitor process. Still doesn't help with knowing the transfer is complete. Any chance the sender can send a "sentinel" file at end to let your program know it is done?

For a third-party we were sending to, I had a similar issue. They monitored for CSV files arriving so I transferred it with a "WIP" extension and then renamed it to CSV when done so they would not pick it up too soon.

It's been discussed here before....

http://archive.midrange.com/midrange-l/201402/msg00300.html
http://www.easy400.net/ifstool/html/ifstool.htm#C5

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

Please contact support@xxxxxxxxxxxx for any subscription related questions.

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.