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


  • Subject: Re: Invoking receive file program
  • From: "Jim Franz" <franz400@xxxxxxxxxxxx>
  • Date: Wed, 14 Mar 2001 16:22:27 -0500

not really looping. think of it like receiving data from a queue.
you can set a timer value as to how long to wait, if the timer expires
evaluate if you want to wait longer, or end the process. It is an
extremely efficient process, and still in use by many applications, an
event driven process from the 70's.
jim
----- Original Message -----
Sent: Wednesday, March 14, 2001 5:57 PM
Subject: Re: Invoking receive file program

Carl,
 
Thanks for the reply.  So the RPG program just sits there looping until it gets records???   I assume that the read will generate an error until records actually start arriving and you put some kind of delay in to keep it from chewing up the system.
 
Bill
----- Original Message -----
<Snip>
The code is really petty simple, the program sits in a wait (read) of the ICF file.  The call comes in on the line, and the controller list is checked to see what controller is associated with the line.  It then looks up the device to see what ICF file is associated with it.  The ICF file is attached to the program.   You have to have the BSC receive program running at all times.  Create a SBS and create an autostart job that runs the receive program.  After you receive data, go back and wait for another call.
 <Snip>

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.