Hi,
I am getting ITEMERR when my CICS module reads TS Queue.
EXEC CICS READQ TS
QUEUE (QUEUE NAME)
INTO (WORKING VARIABLE)
LENGTH (TSQ-LENGTH)
RESP (RESP-CD)
RESP2 (ESP2-CD)
END-EXEC
EIBRESP throws 26, which is ITEMERR, As per my search ITEMERR occurs in any of the following situations:
The item number specified is invalid (that is, outside the range of item numbers written to the queue).
An attempt is made to read beyond the end of the queue using the NEXT (default) option.
The item number specified in a WRITEQ TS command with the REWRITE option, is not valid (that is, it is outside the range of entry numbers assigned for the queue).
The maximum number of items (32 767) is exceeded.
Mine is READQ, and i didn't use any NEXT to read beyond end of the queue. Can you guide me what else would have caused the trouble?