CHGCD (Change Current Directory) Level 2.0

This command changes the current path. The path is a string of folders. The current path is added to the front of a file or directory name if it does not start with a slash.

This command is not sent by a source iSeries™ server.

Parameter name Source Target
AGNNAM N/A Ignored
DRCNAM1 N/A iSeries name
1 Name formats are server defined. The architecture specifies that a directory name length of zero indicates the root directory for the Change Current Directory command. For other commands, a directory name length of zero indicates the current directory, which might or might not be the root directory at the time the command is issued.