CD subcommand—Change the directory on the remote host

Purpose

Use the CD subcommand to change the working directory or file group on the remote host.

Format

Read syntax diagramSkip visual syntax diagramCDdirectory

Parameters

directory
Specifies the name of a file directory, a fully qualified data set, or a prefix on the remote host.

Examples

Usage

You can also use the CWD and CW subcommands to change the current working directory. These subcommands are synonyms of the CD subcommand.