Oracle Updates Gone Missing

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
TheButterflyE
Participant
Posts: 1
Joined: Wed Oct 04, 2006 10:42 pm

Oracle Updates Gone Missing

Post by TheButterflyE »

Hi,

we've got a job that updates a bunch of rows in an oracle table. The monitor says that the correct number of rows were read and written to the output link, however a few of the rows aren't getting updated.

doesn't make sense to me ...

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

Post by ray.wurlod »

Welcome aboard. :D

The link row count tells you how many rows DataStage sent to Oracle.

It does not tell you how many were accepted by Oracle.

Look in the job log (Director client, Log view) to see whether any warnings were generated by Oracle. Chances are that there is one (or two maybe) for each row that failed to be updated.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Common 'problem'. As noted, the monitor shows update requests - it's up to your job to ensure they are valid updates. :wink:

Keep in mind the fact that Oracle updates that update zero records are not considered to have failed - they successfully update nothing. Same with deletes. So DataStage has nothing bad to report back to you when that happens. You'll need to drill into the ones that didn't happen and attempt to figure out why.

Note: I'm assuming you've checked the job's log to see if any warnings were logged (not finding any) and are not relying on the stats shown by the 'monitor' in the Designer.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply