Distributed FileManager/MVS file/directory error codes

Table 1. Distributed FileManager/MVS File/Directory Error Codes
Error Code Description
4000 DFMK_INVALID_NEWFILNM: File name supplied as the new file name in a RNMFIL request is invalid.
4001 DFMK_DIR_FUNC_NOTSUPP: Function not supported for a DDM directory file.
4002 An attempt was made to change a parameter that is not supported by MVS/DFM. Examples of non-supported parameters are FILEXNSZ, FILINISZ, and FILMAXEX.
4004 An unexpected error was returned from FAMS. See the following data items in the SRVDGN for more information: X'842B' (FAMS return code), X'842C' (FAMS reason code).
4006 The length of the data, management, or storage class name specified is greater than 8 characters.
4007 The data, management, or storage class name specified could not be found or is invalid.