This looks to me like what happens when you try to read a message file which
is empty. Issue an fcontrol 45 to make the file act like you wanted in the
first place?
Tracy Pierce
> -----Original Message-----
> From: Born, Ken [mailto:[log in to unmask]]
> Sent: Wednesday, May 17, 2000 9:07 AM
> To: [log in to unmask]
> Subject: END OF FILE error on FREAD
>
>
> Hi Guys,
> Will the following error be produced if my buffer is too
> small on my FREAD?
> read_length := -4106;
> length_read := fread(almginbd_msgf,in_port_record,read_length);
>
> ALMSGH - Unable to Read ALMGINBD.MSGF.CJISII
> ALMSGH - END OF FILE (FSERR 0)
>
> My message file is:
> ALMGINBD* 4200B VAM 0 503 1 256 1 *
>
> I don't understand if I am reading 4106 bytes, how do I go
> past a message
> file of 4200B? or could this be another problem I don't know about.
>