Vsam status and file return code 04.

Community Help: Vsam return code 04 - File status code lookup and help

Share your own experience     View front page

This file return code is referring to mainframe cobol file status codes (Vsam return codes or cobol file status codes). The file status code 04 is returned when the file i-o result was that the length of the record processed did not match the fixed file attributes for that particular file on the mainframe.