Modifying the EID
It is not possible to modify the EID to make major changes to requests. It is not possible, for example, to change an ENQ request to a DEQ request. However, you can make minor changes to requests, such as to turn on the existence bit for LENGTH.
The list that follows shows the bits in the EID that can be modified. Any attempt to modify any other part of the EID is ignored.
- NQ_BITS1
-
- X'40'
- The existence bit for LENGTH
- X'20'
- The existence bit for MAXLIFETIME.
- NQ_EIDOPT7
- A user exit program at XNQEREQ can set the following on or off
for ENQ commands:
- X'04'
- The existence bit for NOSUSPEND.
The EID is reset to its original value before return to the application program. That is, changes made to the EID are retained for the duration of the enqueue request only.
Note: Your user exit program is prevented from making major changes
to the EID. However, you must take great care when making the minor
modifications that are permitted.