Parameter list for date and time routines
At invocation, registers are set, and the date or time routine uses the standard exit parameter list (EXPL).
The
following diagram shows how the parameter list points to other information.
The following list shows the exit-specific parameters, described by macro DSNDDTXP.
Name | Hex offset | Data type | Description |
---|---|---|---|
DTXPFN | 0 | Address | Address of a 2-byte integer containing a function
code. The codes and their meanings are:
|
DTXPLN | 4 | Address | Address of a 2-byte integer containing the length in bytes of the local format. This is the length given as LOCAL DATE LENGTH or LOCAL TIME LENGTH when installing Db2. |
DTXPLOC | 8 | Address | Address of the date or time value in local format |
DTXPISO | C | Address | Address of the date or time value in ISO format (DTXPISO). The area pointed to is 10 bytes long for a date, 8 bytes for a time. |