Steve Bagdon schreef:
> Anyone have a quick example on how to read through an ascii file,
> waiting for eof, and reading each record into a UDC variable for
> processing? Looking for an example in the MPE/ix Commands Reference
> Manual (Vol I/II), but nothing exactly as I need is in there.
> Repeatedly using 'input' against an acii file returns the first line
> of the file.
>
> There's a reason we want this in UDC, so it would be good to figure
> this out. Anyone? Thanks!
>
> Steve B.
Steve,
using the input against an ascii file can be done, but for that you need
to copy the original file contents into a message file. The message file
uses destructive reads (each record is deleted after a read command).
Good luck,
Jan Gerrit Kootstra