Load Vs Upsert in Oracle Enterprise Stage

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
Suman
Participant
Posts: 53
Joined: Thu Oct 07, 2004 8:28 am

Load Vs Upsert in Oracle Enterprise Stage

Post by Suman »

Hi,
I am trying to load some records into an Oracle table using Oracle Enterprise stage as target. The job is running fine with Upsert option. when I am using Load the job is failing. Is there any reason for failure. There is no primary key or constraint in the table. The table is created from datastage.

Regards,
Suman
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Load Vs Upsert in Oracle Enterprise Stage

Post by chulett »

Suman wrote:Is there any reason for failure.
Of course there is, but *you* would need to tell *us* the reason. Post the actual errors that you get when the 'Load' option is used.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Suman
Participant
Posts: 53
Joined: Thu Oct 07, 2004 8:28 am

Re: Load Vs Upsert in Oracle Enterprise Stage

Post by Suman »

chulett wrote:
Suman wrote:Is there any reason for failure.
Of course there is, but *you* would need to tell *us* the reason. Post the actual errors that you get when the 'Load' option is used.
The error is coming like this:
SETPOINT_MASTER_OUTPUT_LDR,9: The system(sqlldr load/*****@cnotl CONTROL=ora.1221018.874080.9.ctl LOG=ora.1221018.874080.9.log BAD=ora.1221018.874080.9.log.bad SILENT=header PARFILE=ora.1221018.874080.9.par) failed; see the log file for the Oracle specific message.his;
With upsert this error is not coming.
Suman
Participant
Posts: 53
Joined: Thu Oct 07, 2004 8:28 am

Re: Load Vs Upsert in Oracle Enterprise Stage

Post by Suman »

chulett wrote:
Suman wrote:Is there any reason for failure.
Of course there is, but *you* would need to tell *us* the reason. Post the actual errors that you get when the 'Load' option is used.
The error is coming like this:
SETPOINT_MASTER_OUTPUT_LDR,9: The system(sqlldr load/*****@cnotl CONTROL=ora.1221018.874080.9.ctl LOG=ora.1221018.874080.9.log BAD=ora.1221018.874080.9.log.bad SILENT=header PARFILE=ora.1221018.874080.9.par) failed; see the log file for the Oracle specific message.his;
With upsert this error is not coming.
Suman
Participant
Posts: 53
Joined: Thu Oct 07, 2004 8:28 am

Re: Load Vs Upsert in Oracle Enterprise Stage

Post by Suman »

chulett wrote:
Suman wrote:Is there any reason for failure.
Of course there is, but *you* would need to tell *us* the reason. Post the actual errors that you get when the 'Load' option is used.
The error is coming like this:
Table_OUTPUT_LDR,9: The system(sqlldr load/*****@cnotl CONTROL=ora.1221018.874080.9.ctl LOG=ora.1221018.874080.9.log BAD=ora.1221018.874080.9.log.bad SILENT=header PARFILE=ora.1221018.874080.9.par) failed; see the log file for the Oracle specific message.his;
With upsert this error is not coming.

Suman
Suman
Participant
Posts: 53
Joined: Thu Oct 07, 2004 8:28 am

Re: Load Vs Upsert in Oracle Enterprise Stage

Post by Suman »

The error is coming like this:
Table_OUTPUT_LDR,9: The system(sqlldr load/*****@cnotl CONTROL=ora.1221018.874080.9.ctl LOG=ora.1221018.874080.9.log BAD=ora.1221018.874080.9.log.bad SILENT=header PARFILE=ora.1221018.874080.9.par) failed; see the log file for the Oracle specific message.his;
With upsert this error is not coming.

Suman
sanjay
Premium Member
Premium Member
Posts: 203
Joined: Fri Apr 23, 2004 2:22 am

Re: Load Vs Upsert in Oracle Enterprise Stage

Post by sanjay »

Suman

open ora.1221018.874080.9.log file it will give oracle error message why load fail.

Thanks
sanajy
Suman wrote:The error is coming like this:
Table_OUTPUT_LDR,9: The system(sqlldr load/*****@cnotl CONTROL=ora.1221018.874080.9.ctl LOG=ora.1221018.874080.9.log BAD=ora.1221018.874080.9.log.bad SILENT=header PARFILE=ora.1221018.874080.9.par) failed; see the log file for the Oracle specific message.his;
With upsert this error is not coming.

Suman
Post Reply