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

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.

Type
*CHAR
Required
No
Default
*
Length
6
Case
Uppercase

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.

IBM command documentation

Generated from os/cl/catalog/DSPCURDIR.json and os/cl/help/DSPCURDIR.json.