Date to the 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
cnu
Premium Member
Premium Member
Posts: 38
Joined: Fri Jan 11, 2008 10:04 am

Date to the timestamp

Post by cnu »

Hi:

Date is coming like 5/10/2008 from the source.in the target has a column as timestamp .
But my requirement is load the date which is coming from the source 5/10/2008 to the target.Can you let me know how i can transfer in the transformer.

Thanks
cnu
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What is your target - sequential file, database, what? How is the field defined there? I'm assuming the 'column as timestamp' applies to the DataStage job so we need to clarify how the actual target column is defined.
-craig

"You can never have too many knives" -- Logan Nine Fingers
cnu
Premium Member
Premium Member
Posts: 38
Joined: Fri Jan 11, 2008 10:04 am

Post by cnu »

Hi:
Thank for quick response.

Source is Sequential file,target is sybase.
Target column defiend as timestamp.

Thanks
cnu
cnu
Premium Member
Premium Member
Posts: 38
Joined: Fri Jan 11, 2008 10:04 am

Post by cnu »

Hi:
Thank for quick response.

Source is Sequential file,target is sybase.
Target column defiend as timestamp.

Thanks
cnu
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So now the question is - what does Sybase expect in the way of a Timestamp? The ISO standard YYYY-MM-DD HH24:MI:SS?
-craig

"You can never have too many knives" -- Logan Nine Fingers
cnu
Premium Member
Premium Member
Posts: 38
Joined: Fri Jan 11, 2008 10:04 am

Post by cnu »

Hi:
The problem is resolved.

Thanks
cnu
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Well, then it would be great if you could do two things: 1) Post the resolution and 2) Mark the thread as Resolved.

Thanks.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply