550: Unable to delete directory (Error code: error_code, Reason code: reason_code, S99ERSN code s99reason_code).

Explanation

The RMD or DELE command was issued to delete PDS directory, but when the FTP server attempted to delete the data set, the delete did not complete successfully. Possible causes for this error include the data set is currently in use by someone else, the data set has an unexpired retention period, the data set is located on a tape volume, or the direct access volume containing the data set is not writable.

System action

The RMD or DELE command is rejected. Control returns to the client for further command processing.

User response

Reissue the command. If the problem persists, contact the system programmer for the server system.

System programmer response

The error_code, reason_code, and s99reason_code values displayed contain the S99ERROR, S99INFO, and S99ERNS fields from DYNALLOC. See Interpreting DYNALLOC return codes in the z/OS MVS Programming: Authorized Assembler Services Guide to determine why the data set cannot be deleted and correct the problem.