Possible causes are:
The status xx is a COBOL file status. If the first byte is a 9, then the status yyy is a COBOL run-time error number. The output file is closed, and should be usable, even if the rebuild is not complete. The return code is set to 1.
Investigate the error. For run-time system error messages see the help topic Run-time System Error Messages.