CKFILE
CKFILE checks to see if the specified, partially or fully qualified, file ID exists.
Operands
- fileid
- specifies the file identifier.
Return codes
See the RFS command, section RFS.
Example
'CKFILE POOL1:\USERS\USER1\TEST.EXEC'
This
example checks for a file called TEST.EXEC in the existing directory
POOL1:\USERS\USER1.