Unable to load into a Table from a dataset.............

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
pavans
Participant
Posts: 116
Joined: Sun Sep 10, 2006 7:33 am
Location: bangalore, india

Unable to load into a Table from a dataset.............

Post by pavans »

Hi ,

I have a dataset with 4 lac reocrds.
i am loading to a oracle table.
there is no transforamtion....involved.

But.......i m unable to load a single record.
the table is also empty.
Awating ur reply.

Thanks in advance........
Thanks,
Pavan
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

Need more information. what does the log suggest ? Also does the user have access to the table? Check any constraints on the table.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
pavans
Participant
Posts: 116
Joined: Sun Sep 10, 2006 7:33 am
Location: bangalore, india

unable to load........

Post by pavans »

us1aslam1us wrote:Need more information. what does the log suggest ? Also does the user have access to the table? Check any constraints on the table.

i m able to insert a row externally using a insert command.
When i m running the Datastage job.......its not loading.
There is no error in the log file.
Its taking a lot of time.
More than 4 hrs............
Thanks,
Pavan
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

First check you APT_ORACLE_LOAD_OPTIONS environment variable. If still problem persists then discuss this with your DBA.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

How was the Data Set created? Does the job that reads from it use the same configuration file as the one that created it?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
pavans
Participant
Posts: 116
Joined: Sun Sep 10, 2006 7:33 am
Location: bangalore, india

Post by pavans »

us1aslam1us wrote:First check you APT_ORACLE_LOAD_OPTIONS environment variable. If still problem persists then discuss this with your DBA.
I have checked APT_ORACLE_LOAD_OPTIONS, there is no value for it.
Thanks,
Pavan
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

a) when you run the job, does it show that the correct number of rows were read from the dataset?
b) what method are you using in your Oracle stage?
c) Have you tried adding a reject link to your Oracle stage and analyzing the output?
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

can you check if all records are getting rejected for some reason, you may not see if, you may have choosen to continue for any reject, change it to ouput.
say2prabhu1
Participant
Posts: 27
Joined: Mon Jul 09, 2007 1:06 am

Post by say2prabhu1 »

i was also faced the similar issue.. I didn't noticed the records got rejected while loading into the oracle table due to mismatched datatype between source and target..

1)Put reject file at the oracle stage.
2)Check the datatypes between source and target.
Post Reply