10.0;existf, revision 1.0, 88/01/21
existf -- Check for existence of an object.
usage: existf pathname...
DESCRIPTION
existf reads the object pathname(s) you supply and checks to see if the
object exists. If the object does exist, existf returns with a good
program status (pgm_$true). If the object does not exist, existf returns
an error status (pgm_$false).
ARGUMENTS
pathname required
Specify the object to be checked. Multiple pathnames and
wildcarding are permitted. If you specify more than one
pathname, all the objects must exist for existf to return
true.
EXAMPLES
Test for my_file which does not exist.
$ if existf my_file then args "The file is there."
$_else args "Out of luck." endif
Out of luck.
$