Populating values into a column which datatye is timestamp

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
puli.reddy
Participant
Posts: 28
Joined: Wed Jan 11, 2006 8:29 pm
Location: Singapore
Contact:

Populating values into a column which datatye is timestamp

Post by puli.reddy »

Hi,

I want to populate values into a DB2 database column which datatype is timestamp. Input values are coming as follows
200602111743(YYYYMMDDHHMI). I am moving directly without any transformation logic. It isn't allowed to populate values into database.

What transformation logic should I have to use for this population?

Thanks in advance.
Thnaks and Regards,
AnjiReddy.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

AnjinReddy,

you posted the question in a PX forum, but specified Windows/Server in the comments. Could you specify which system you are actually using, and what your error message is?
tardifma
Premium Member
Premium Member
Posts: 23
Joined: Tue Jan 24, 2006 10:53 am

Post by tardifma »

Hi.
In the server edition, look at the IConv and OConv option. With these 2 function, you can convert string to datastage date format. Look at the IConv's help for the format...

Mathieu.
The Brute
Post Reply