When I export a record with date fields, is there a way to force dates in that record to always be in the mm/dd/yyyy (4-digit year) format? (I assume it's abbreviating when possible, based on the current -yy parameter.)
def temp-table tt no-undo field dt1 as date format '99/99/9999' field dt2 as date format '99/99/9999' .create tt. update tt.output to /tmp/x.export tt.output close.
dt1 dt212/31/2020 04/01/1066
Contents of output:
The problem is that if the -yy is different when the record is later imported, I might not get what I expect.
This is in 10.2b08 on RHEL.
Use the -yr4def client start up parameter.
Sounds like exactly what I need. I'll test it. Thanks !