Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> OEM 2.2 node job os command return code

OEM 2.2 node job os command return code

From: Mats Johansson <matsjo_at_ainigma.com>
Date: 11 Feb 2003 14:00:07 -0800
Message-ID: <a8cbef63.0302111400.12115c3b@posting.google.com>


Hi,

OEM 9.2.0.1 on HP-UX 11i

Anyone knows how to return SUCCESS or FAILURE to OEM when executing an O/S command (shell script or binary) as an OEM JOb of target type node?

I've tried to "exit 1" in shell scripts but OEM always claims success. Is this possible at all? Docs are not very detailed around this (or at least I didn't find it).

Or do I have to register an eventhandler an use oraevent in my script to raise it if failure (a clumsy way I must say).

/Best Regards, Mats Received on Tue Feb 11 2003 - 16:00:07 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US