String to DATE (YYYYMMDD) conversion Error
Posted: Tue Aug 05, 2008 8:50 pm
I am doing some tests to load a date YYYYMMDD from a sequential file that needs to be stored as YYYYMMDD in a DB2 table.
In the DB2 Table the data type for the DUE_DT is DATE
I use the following conversion rule
Iconv(Input.DUE_DT,"DYMD")
but the result is displayed as YYYY-MM-DD 00:00:00.0
Is there a conversion that I could use to display the DUE_DT as YYYYMMDD in the DB2 table ?
Please Assis
In the DB2 Table the data type for the DUE_DT is DATE
I use the following conversion rule
Iconv(Input.DUE_DT,"DYMD")
but the result is displayed as YYYY-MM-DD 00:00:00.0
Is there a conversion that I could use to display the DUE_DT as YYYYMMDD in the DB2 table ?
Please Assis