Understanding LTM for MVS date and time conversions

When you map data to the ASE datetime datatype, be sure you understand the data type conversion that can occur between LTM for MVS date, time, and timestamp data and ASE datetime data.

NoteReplication Server version 12.0 and later includes Heterogeneous Datatype Support (HDS). This means that you can now use DB2 date, time, and timestamp datatypes without having to map them to ASE datatypes. For more information on setting up Replication Server and the HDS feature, see the Replication Server Configuration Guide.

ASE datetime data is accurate only up to one thousandth of a second. For example, if you map a time column in your primary table that contains 10.02.30.006123 to the ASE datetime datatype, the conversion results in a loss of the last three digits: 10:02:30:006AM.

You can prevent this precision loss by:

See Appendix B, “Creating User Exits” in the Replication Agent for DB2 UBD Installation Guide for further information.