existdir - UDM Command
Syntax
existdir logical-name=directory
Description
The existdir command verifies that the specified directory exists and reports the results to the user. It also sets a variable, _existdir, with the results.
There is no default directory.
The command is valid only for the HFS file system, which is the file system for UNIX, Windows, and z/OS (HFS only).
IBMÂ i |
HFS supports the root and QOpenSys file systems under IFS. |
---|---|
z/OS |
HFS supports the UNIX System Services file system. |
Parameters
Parameter |
Description |
logical-name |
Logical name of the transfer server to execute the existdir command. |
directory |
Name of the directory to check. This can be a relative path. |
Examples
The following examples assume that the logical name remotesys is valid.
To check the /home/max/tmp directory:
Windows
The example would be:
To check the directory /home/max/tmp/abc using a relative path, assuming that the current directory is /home/max/ and that /home/max/tmp/abc exists.
Windows
The example would be: