9.0;existf, revision 9.0, 85/03/26
EXISTF -- Check for existence of an object.
usage: EXISTF pathname...
FORMAT
EXISTF pathname ...
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
1. $ if existf my_file then args "The file is there." Test for "my_file"
$_else args "Out of luck." endif which does not
Out of luck. exist.
$