What it means
NOSPACE (EIBRESP 18) means the request could not complete for lack of space. For WRITEQ TD, IBM advises that no more data should be written to the queue afterwards, because it may be lost. The default action is to terminate the task abnormally.
Typical causes
- No more space exists on an intrapartition or extrapartition transient data queue.
- The relative byte address of an intrapartition queue would exceed 2 GB.
- No space is available on the direct access device for adding records to a file (RLS file case, READ command).
How to fix it
- Stop writing to the queue once NOSPACE occurs, because further data may be lost.
- Use the RESP option and test for NOSPACE so the program can react instead of being abended.