move sybase timestamp data to db2

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
suri
Participant
Posts: 24
Joined: Tue May 25, 2004 12:17 am
Location: piscataway
Contact:

move sybase timestamp data to db2

Post by suri »

Hi,
I want to move(stright move) Sybase data to Db2. Do i need to write SQL at Sybase stage (since sybase support 23 lenth of timestamp where as DB2 26) or shall i move directly, is datastage take care of padding with 0.


Thanks
Suri
richdhan
Premium Member
Premium Member
Posts: 364
Joined: Thu Feb 12, 2004 12:24 am

Post by richdhan »

Hi Suri,

Give it a shot - move it directly. If you get any problems then use the conversion functions TimestamptoString to convert it to String, pad the remaing characters with 0, convert it back to timestamp using StringtoTimeStamp and load the data.

HTH
--Rich

Pride comes before a fall
Humility comes before honour
Post Reply