Loading Data in to Oracle Table

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
somu_june
Premium Member
Premium Member
Posts: 439
Joined: Wed Sep 14, 2005 9:28 am
Location: 36p,reading road

Loading Data in to Oracle Table

Post by somu_june »

Hi,

I have a Datastage job, which is insertind data in to a temp_arg table and it had two fields Strt_Date and End_Date with Date data type .

In my job the input column data that I'm using to load the Strt_Date and End_Date fields is '2010-10-10 00:00:00.00' .

In ORAOCI9 stage I defined the Strt_Date and End_Date columns as Timestamp and the Sql that is gernerated in OCI stage is

INSERT INTO tmp_parm_rang (TPR_STRT_DT,TPR_END_DT) VALUES (TO_DATE(:1, 'YYYY-MM-DD HH24:MI:SS'),TO_DATE(:2, 'YYYY-MM-DD HH24:MI:SS'))


After running the Job I don't see any data in the database and the Datastage job finished successfully with out any warning.

Can some one help me in understanding why data is not loaded in the oracle Database


Thanks,
Somaraju
somaraju
anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post by anbu »

Do you have reject link to ORAOCI9 stage?

Check performance statistics in the job and see how many rows are sent to ORAOCI9 stage.
You are the creator of your destiny - Swami Vivekananda
palak08
Participant
Posts: 75
Joined: Thu Nov 04, 2010 5:54 pm

Post by palak08 »

Use Iconv function to convert date.
Post Reply