The problem here is that I will be in a loop (the reason for testing the EOF of the remote file) until some dynamically defined EOF is arranged at on the remote box, and I would possibly be doing these fcopys or dscopys for hours on end. Ray Shahan "Life is what happens while you're busy making other plans", John Lennon > -----Original Message----- > From: Tim Cummings [SMTP:[log in to unmask]] > Sent: Thursday, July 18, 2002 1:52 PM > To: Shahan, Ray; [log in to unmask] > Subject: RE: [HP3000-L] DSLINE IF > > Ray, > > How about using FCOPY to assist. > > fcopy from=*(file eq to file on other > system);to=testfile;new;subset=7001:7001 > > if finfo("testfile","eof") > 0 > > ... > > > Tim Cummings > Cummings Consulting > Cincinnati, OH > 513-576-1182 > > > -----Original Message----- > From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On Behalf > Of > Shahan, Ray > Sent: Thursday, July 18, 2002 2:03 PM > To: [log in to unmask] > Subject: [HP3000-L] DSLINE IF > > Hi all, > > I need to get the EOF of a file on a remote box, so I can decide what > action > to take on the local box, but can't seem to figure it out...any help would > be great. > > REMOTE IF FINFO("ZAP","EOF") > 7000 ends up giving me the true > condition, but the true condition is on the remote box, and I need it to > be > on the local box. > > I've tried all sorts of variations on this theme, and I recall being able > to > do something to this effect several years ago, but.... > > TIA > > Ray Shahan > > "Life is what happens while you're busy making other plans", John Lennon > > * To join/leave the list, search archives, change list settings, * > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html * * To join/leave the list, search archives, change list settings, * * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *