Capture rejects in Oracle Enterprise with load option?

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
sattibabu_2004
Participant
Posts: 6
Joined: Thu Oct 12, 2006 1:05 pm

Capture rejects in Oracle Enterprise with load option?

Post by sattibabu_2004 »

Hi,
How to capture rejects from Oracle enterprise stage with load option used? I mean, toc apture in to plain text file? Than k you.

Sattibabu
johnthomas
Participant
Posts: 56
Joined: Mon Oct 16, 2006 7:32 am

Post by johnthomas »

I dont think you can have a reject link Oracle enterprise stage with load option . Try to create a reject link, it will say that it cannot create it because of lack of "output reject records property".You can always look into scratch directory to find why the data was not loaded
JT
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The Load option is going to use sqlldr, so you will be able to look in the "log" and "bad" files generated by the bulk loader utility.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sattibabu_2004
Participant
Posts: 6
Joined: Thu Oct 12, 2006 1:05 pm

Post by sattibabu_2004 »

ray.wurlod wrote:The Load option is going to use sqlldr, so you will be able to look in the "log" and "bad" files generated by the bulk loader utility. ...
In case of Oracle Enterprise stage in PX job, any parameter at server level to setup to tell sqlldr where to write bad files? What is the default log and bad files location? Thank you.

sattibabu
johnthomas
Participant
Posts: 56
Joined: Mon Oct 16, 2006 7:32 am

Post by johnthomas »

please look into this directory where sqlldr log is stored .This is the
default directory

/var/dstage/Ascential/DataStage/Scratch
JT
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

DataStage doesn't really know whether the load command worked or failed (in terms of number of rows loaded). You could write a DataStage Routine that opens the log file and parses it for success and failure message for use in log messages and Sequence job triggering.
Post Reply