I got the Error when I was trying to load data to Oracle

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
sck
Participant
Posts: 18
Joined: Thu Mar 18, 2004 2:58 pm

I got the Error when I was trying to load data to Oracle

Post by sck »

Hi All,

Could anyone let me know what this error could be.

This occured when I was trying to load data into Oracle.
Oracle_Enterprise_2,0: system(sqlldr legacy_user@prepdev1.world CONTROL=ora.61034.798698.0.ctl LOG=ora.61034.798698.0.log BAD=ora.61034.798698.0.log.bad SILENT=header PARFILE=ora.61034.798698.0.par ) failed. See log file for Oracle specfic message.

Thanks
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Show us what's in the Oracle log (ora.61034.798698.0.log). It looks like Oracle has had a problem with what you've asked sqlldr to do. That is, DataStage has successfully generated the data file(s) and control file, but Oracle has not liked some or all of the rows in the data file. These rows will be in the "bad" file (ora.61034.798698.0.log.bad), possibly with additional diagnostic information.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
raj4756
Participant
Posts: 17
Joined: Thu Feb 26, 2004 9:07 am

Post by raj4756 »

I'm getting a similar error. Could you please tell me where are the log files located.

Thanks.

Raj
Eric
Participant
Posts: 254
Joined: Mon Sep 29, 2003 4:35 am

Post by Eric »

For problems with sqlldr, I expect the job cannot see $ORACLE_HOME/bin in the PATH variable. (Look in the Env in the Director Log)

(Also try looking for the ora* logs in /DataStage/Scratch)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Oracle logs are usually located in $ORACLE_HOME/logs. If not there, check out whether your Oracle configuration specifies an alternate location.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Eric
Participant
Posts: 254
Joined: Mon Sep 29, 2003 4:35 am

Post by Eric »

I had understood (although I could be wrong) that when the job goes wrong that DataStage re-directs these logs into it's own file system rather than the oracle install file system.
Post Reply