Converting String to Date

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
murali
Participant
Posts: 54
Joined: Mon Sep 12, 2005 11:38 pm

Converting String to Date

Post by murali »

Hi all,
in my source definition the column datatype is varchar(10) and target data type is Date(10) I'm using db2 to db2 databases
I'm using DRS (DYNAMIC RDBMS) Stage both for source and table
The format of both source and target are yyyy-mm-dd
I'm getting following erro message

Code: Select all

Attempt to convert String value "2004-12-12" to Date type unsuccessful
please any one help for overcome this situation
kcshankar
Charter Member
Charter Member
Posts: 91
Joined: Mon Jan 10, 2005 2:06 am

Post by kcshankar »

Hi Murali,

Search the forum for "String value to Date type unsuccessful ",You will get lot of posts related to your topic.

regards
kcs
Post Reply