Modifying the EID by exits XTDEREQ and XTDEREQC
It is not possible to modify the EID to make major changes to requests, such as changing a READQ request to a WRITEQ request. However, you can make minor changes to requests, such as turning on the existence bit for SYSID so that the request can be changed into one that is shipped to a remote system.
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.
- TD_BITS1
-
- X'20'
- The existence bit for LENGTH.
- X'02'
- The existence bit for SYSID.
- TD_EIDOPT5
-
- X'01'
- Existence bit for SET keyword. You cannot modify this bit from your user exit.
- TD_EIDOPT7
-
Changes to TD_EIDOPT7 are limited to READQ requests. X'80'-READQ is interchangeable with X'C0'-READQ(nosuspend). No other changes may be made to this byte.
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 transient data request only.