HP3000-L Archives

April 1998, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Paul H. Christidis" <[log in to unmask]>
Reply To:
Date:
Fri, 3 Apr 1998 13:09:16 PST8
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
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.

ATOM RSS1 RSS2