DSPCURDIR (Display Current Directory) Command Description

DSPCURDIR Command syntax diagram

Purpose

The Display Current Directory (DSPCURDIR) command is used to display the name of the current working directory.

Restrictions:

Optional Parameter

OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed with the job's spooled output. More information on this parameter is in commonly used parameters.

*: Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.

*PRINT: The output is printed with the job's spooled output.

Example for DSPCURDIR

DSPCURDIR

This command displays the name of the current working directory.

Error messages for DSPCURDIR

*ESCAPE Messages

CPFA085
Home directory not found for user &1.