Aha! Paul, that does work! Dummy me forgot to look at the value in the var remote_eof *after* the XEQ of TMP. Thanks! Ray Shahan "Life is what happens while you're busy making other plans", John Lennon > -----Original Message----- > From: [log in to unmask] [SMTP:[log in to unmask]] > Sent: Thursday, July 18, 2002 1:43 PM > To: Shahan, Ray > Cc: [log in to unmask] > Subject: Re: [HP3000-L] DSLINE IF > > > Let us try ONE more time: > > > Try the following: > > Supposing that the DSLINE to the remote machine had been done as follows: > > :DSLINE X=rmthost.domain.org > :remote hello .... > > Then do the following: > :Remote file x=tmp:$back > :remote echo setvar remote_eof !![finfo("ZAP","eof")] >*x > :XEQ tmp > :if remote_eof > 7000 then > .... > ... > > That should do it!! > > Regards > Paul Christidis > * To join/leave the list, search archives, change list settings, * * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *