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



Okay, I've got a program on a Windows Server (a service) that monitors a
directory and converts any file in said directory from PDF to TIF. I
mapped a network drive to an iseries IFS directory and monitor that.

So, to start the asynchronous process, I merely copy files into that
directory. Right now, I'm handling the return by checking if the tiffs
are in that directory every second or so.

Since RPG never actually directly interacts with that process and I
didn't write that program, I'm not sure how I could possibly make a more
intelligent guess as to when the process is ending. Because it is a
queue system and may have multiple threads feeding documents into the
directory I can't really be sure when and in what order the files are
processed.

I suppose this is where the fun comes in in heterogeneous environments.

Thank you,
Chris Anderson
Partners Mutual Insurance


Don't just delay for a fixed time period. Wait until you know the
asynchronous process has completed. That requires more/better design but
will avoid problems caused by the other process not finishing within the
fixed wait time.

How do you start the asynchronous process?

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.