Focal Point
Loading Focus Smart Date Field into Mainframe DB2 Table

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1971082182

April 21, 2008, 07:17 AM
ktnj
Loading Focus Smart Date Field into Mainframe DB2 Table
Hello All,

We need to load (copy) a mainframe flat file that contains Focus smart date fields into a mainframe DB2 table.

Does anyone have any experience with this type of situation? How do we reformat the Focus smart date into a format compatible with the mainframe Date format?

Thanks to all!

IBM Z/OS
FOCUS 7.2.5


April 21, 2008, 08:19 AM
Leah
To insert DB2 dates, the format 'ccyy-mm-dd' works, if I'm not mistaken. Then DB2 stores the field for you, assumes of course the DB2 column is defined as a true date field.


Leah
April 23, 2008, 06:35 AM
ktnj
Thanks.
We were able to convert the smart date to a legacy date in DB2 yyyymmdd format and load that value.