Stan Sieler wrote in message ...
>Re:
>> Rather than close and reopen the message file, try using FCONTROL 6. It
>
>I was afraid someone would suggest this.
>
>Let's look at the original comment:
>
>> >- The message file is empty
>> >- Process A opens the message file and writes 2 records to it.
>> >- Process B asks for an FINFO('EOF',) on the message file and gets 0.
>
>You have to ask yourself:
>
> WHY IS PROCESS B CHECKING THE EOF?
>
>It smacks of "polling" to me ... which is antithetical to message files!
It sure does... but, when Process B is a commercial package (and in the
above example it is) and your only supported means of communicating to the
underlying database is via this message file... what's a poor boy from the
country to do?
Regards,
Jim
eSystem Solutions