Master Mainframe Technologies - COBOL, JCL, DB2, VSAM, CICS & More
ABEND Codes SQLCODEs File Status Interview Prep Contact
← Back to File Status Reference
All

Status 42

CLOSE for file not open

Explanation

Attempt to CLOSE a file that is not open.

Solution

Check program flow, ensure OPEN succeeded before CLOSE.