What it means
INVREQ (EIBRESP 16) is a general invalid-request condition used by many commands. The default action is to end the task abnormally, and the exact reason is given by the RESP2 value documented under INVREQ for the specific command.
The causes below are examples from individual commands, not a complete list.
Typical causes
- READ with KEYLENGTH that does not match the file's key length for a non-generic read, or GENERIC with a KEYLENGTH not less than a full key.
- A second READ UPDATE without TOKEN against the same file before REWRITE, DELETE, UNLOCK or SYNCPOINT.
- START with an HOURS, MINUTES or SECONDS value (or INTERVAL part) out of range.
- LINK with INPUTMSG for a program that has no terminal, or with TRANSID given as all blanks.
- WRITEQ TD naming an extrapartition queue that was opened for input.
How to fix it
- Read EIBRESP2 and find that value under INVREQ for the command that failed.
- Correct the option values that the RESP2 explanation points to, such as KEYLENGTH, GENERIC, TRANSID or time values.
- Complete or release an earlier READ UPDATE (REWRITE, DELETE, UNLOCK or SYNCPOINT) before issuing another on the same file.
- Check that the command is valid for the file or queue type involved.