What it means
ITEMERR (EIBRESP 26) is raised by READQ TS when the item cannot be found. The default action is to terminate the task abnormally.
Typical causes
- The ITEM number given is outside the range of item numbers written to the queue.
- A READQ TS with NEXT (the default) tried to read beyond the end of the queue.
How to fix it
- Check that ITEM is within the range of items that exist in the queue.
- When reading sequentially, expect ITEMERR after the last item and handle it with RESP.
- Use NUMITEMS on a successful read to find how many items the queue holds.