FUSUTIL EXIST
You can use the FUSUTIL EXIST program to determine whether a file exists on a platform.
The program can be entered in one of the following two ways:
At least one space must be added after the program name FUSUTIL and before the name of the file to be checked. The file to be checked must be defined; otherwise, the request fails and an error is displayed.
The file name must be the fully qualified file name with all directories and qualifiers defined. On systems such as UNIX where the file system is case sensitive, the file name must exactly match the file name in the file system.
For example, the following commands check whether the file mvsfile.acct.Y2004.JAN exists. On z/OS, they also check whether an exclusive ENQ exist on the file. If yes, the request fails as if the file does not exist.
fusutil E mvsfile.acct.Y2004.JAN
fusutil EXIST mvsfile.acct.Y2004.JAN