Date Function in Datastage

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
babuselvan
Participant
Posts: 22
Joined: Mon Nov 02, 2009 6:02 pm
Location: chennai

Date Function in Datastage

Post by babuselvan »

I need to insert a Date ('31-dec-9999') into my oracle database which has a datatype as Date. How do i do it using Datastage?
gssr
Participant
Posts: 243
Joined: Fri Jan 09, 2009 12:51 am
Location: India

Post by gssr »

What datatype are you using to define it the DS :?:
RAJ
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

DataStage server does not bother about datatypes.

What did you try so far ? What issues are you facing ?

It is better to post specific issues than ask open questions.

You may better refer to the documents before posting.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You do it the same way you would do it anywhere else, with the help of a properly configured TO_DATE() function. The stage can automatically generate that for you.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If you specify Date as the Data Element, DataStage will expect an internal format date.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply