Command reference / ifs
DSPCURDIR
Display Current Directory
The Display Current Directory (DSPCURDIR) command is used to display the name of the current working directory.
Allowed environments: *ALL.
Positional parameters: 1.
Restrictions
- The user must have execute (*X) authority to the current directory.
- The user must have read and execute (*RX) authority to each directory in the path.
Parameters
OUTPUT
Output
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
Allowed values:
*, *PRINT
*- The output is displayed for interactive jobs or printed with the job's spooled output for non-interactive jobs.
*PRINT- The output is printed with the job's spooled output.
Examples
DSPCURDIR
This command displays the name of the current working directory.
Generated from os/cl/catalog/DSPCURDIR.json and os/cl/help/DSPCURDIR.json.