Sounds like a job for a pipe to me. sas
> On Sun, Nov 10, 2019 at 5:54 PM Pierre Fichaud <[email protected]> wrote: > > > I must continuously monitor ("read") a Unix file that contains > > diagnostics. I open the file, parse the records and possibly produce > > output. Once I've read all the records, I need to wait (or be blocked) > > until more data arrives. Then I process the new records. But I want to > > know when the writer has closed the file. Then I stop. Regards, Pierre. > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
