Eric,
How about trying something like the following:
file t=xfile.xgroup.xacct:node1
setvar hpfserr 0
continue
print *t;end=1 > $null
if hpfserr <> 52 then
echo ** File Exists **
else
echo ** File Does Not Exist **
endif
reset t
Regards
Paul H. Christidis
______________________________ Reply Separator _________________________________
Subject: detecting a file
Author: Eric Gustafson <[log in to unmask]> at CCGATE
Date: 04/03/98 10:15
anyone have a good way to test for whether a file exists on a remote node
using netbase? the finfo() command doesn't work when testing a file that
is on a remote node.
I was thinking something like finfo("xfile.xgroup.xacct:node1",0) might
work, but it doesn't. It returns FALSE, even if the file does exists.