What it means
NOTOPEN (EIBRESP 19) means the resource was not open for the request. For a file READ, IBM gives several states that lead to it. For WRITEQ TD it applies when an extrapartition destination is closed. The default action is to terminate the task abnormally.
Typical causes
- The file is CLOSED and UNENABLED.
- The file is open and in use, but a CLOSE request against it has been received.
- The data set is quiesced, or being quiesced, by SET DSNAME QUIESCED or IMMQUIESCED.
- The file is CLOSED and ENABLED, CICS tried to open it for the request, and the open failed.
- The extrapartition transient data destination is closed (WRITEQ TD).
How to fix it
- Examine the console messages that explain why the file open failed.
- Check the state of the file (closed, unenabled, quiesced) and bring it to an open, enabled state.
- Note that a CLOSED, DISABLED file raises DISABLED instead of NOTOPEN.