Hi:
I have a problem with Informix native connection when I use DATE data type. Currently I am using Informix ODBC connection and it work fine with DATE columns, but I know that native connection is better than ODBC connection so I would like to use native connection. The problem is when I use Informix-CLI stage, the datastage shows the following message:
"pruebaSote..Informix_CLI_6.IDENT1: At row 1, link "DSLink2", while processing column "fec_finvig"
Value treated as NULL Attempt to convert String value "07/01/2005" to Date type unsuccessful"
Thanks for your help.
Victor.
Problem with Informix Native Connection
Moderators: chulett, rschirm, roy
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard! :D
Since the problem is in row #1, does the file have column headings but you forgot to check this box in the Sequential File stage Format tab?
Otherwise, what is the actual value in the fec_finvig column being sent to the Informix table? You can use the Debugger or stage tracing to determine this. Is it, in fact, a date? If so, does its format conform to the date format required by your Informix database?
Since the problem is in row #1, does the file have column headings but you forgot to check this box in the Sequential File stage Format tab?
Otherwise, what is the actual value in the fec_finvig column being sent to the Informix table? You can use the Debugger or stage tracing to determine this. Is it, in fact, a date? If so, does its format conform to the date format required by your Informix database?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
Sainath.Srinivasan
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom