Job is successful even after oracle error

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
vishu19aug
Participant
Posts: 39
Joined: Mon Feb 13, 2012 1:30 pm

Job is successful even after oracle error

Post by vishu19aug »

Hi,

I see ORA-00904 as a warning in my server job, also the job completed successfully. This is strange, ideally the job should fail because of oracle error.

Thanks,
Vishal Gupta
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not for warnings unless they exceed your runtime Warning Limit. Look for an option in the stage to 'treat warnings as fatal' if that's the behaviour you want.
-craig

"You can never have too many knives" -- Logan Nine Fingers
vishu19aug
Participant
Posts: 39
Joined: Mon Feb 13, 2012 1:30 pm

Job is successful even after oracle error

Post by vishu19aug »

The strange thing is ds is shoeing it as warning, however it should be fatal error. I could not find anything in stage properties for this kinda settings.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What stage are you using?

We routinely ran our Server jobs with a warning limit of 1 as they should never have any warnings... as noted, that would be another option.
-craig

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