Page 1 of 1

DSExecute return code on UNIX

Posted: Fri Feb 24, 2006 5:17 pm
by chulett
Right now, when I run UNIX shell scripts via the DSExecute function and capture the 'System Return Code' I only seem to get back two values: either a zero for a successful completion or a 255 when the script passes back an error status.

No matter what I pass back as the exit status of the script (other than a zero, of course) postive or negative, it gets recognized as 255 in DataStage. What I'd like to be able to do is pass back various error 'statii' from a script and recognize them inside the DataStage job control so I can handle them appropriately.

Am I missing something and this can actually be done? Or is this How It Works and I am SOL? :?

Posted: Fri Feb 24, 2006 5:51 pm
by chulett
Ok, nevermind... I am an idiot. This is what happens when you change a script on one server and then don't see any changes when you execute it in a job on a completely different server. :roll: Jeez.

I need to get more sleep. And a day off. :evil: