QRYCD (Query Current Directory) Level 2.0

This command returns the current directory. This command is not sent by a source iSeries™ server.

Parameter name Source Target
AGNNAM N/A Ignored

The following reply object is possible:

DRCNAM
Directory name
Note: A directory name length of zero indicates that the root directory is the current directory.