The DATERTNX parameter controls the value placed in the found code for a fetch by count (FC) operation on a table when date-sensitive processing is enabled.
With an FC command, it is possible that the row retrieved is not within the date range. When this occurs, the found code is normally set to N to reflect the logical condition that the retrieved row is not a match. For compatibility with previous releases, the found code returned under this condition can be made to be X. The default setting of DATERTNX=N provides this compatibility with previous releases.
If Date-Sensitive Processing is being introduced in a new application, or no FC commands are used in the application, it is strongly recommended that DATERTNX=Y be specified so the found code will never be set to X. The delivered default is DATERTNX=N for backwards compatibility.
This option applies to this region’s users, regardless of which TSR they access.
This option can be specified for all tableBASE interfaces except the VTS interface.