501: Partitioned data set may not be created within a partitioned data set

Explanation

The MKD command was entered to create a new PDS. The pathname parameter was not in quotation marks, indicating that the path name should be appended to the current working directory; however, the current working directory was a partitioned data set, and a new partitioned data set cannot be created within the current working directory.

System action

The MKD command is rejected. Control is returned to the client connection for further command processing.

User response

Either issue the CWD command to change the current working directory to a high-level qualifier rather than a PDS and then reissue the MKD command as before, or reissue the MKD command with the path name in quotation marks to prevent appending to the current working directory.

System programmer response

None.