Database Install/Upgrade/Opatch (MOSC)

MOSC Banner

execute opatch in a batch?

edited Mar 29, 2014 12:00PM in Database Install/Upgrade/Opatch (MOSC) 5 commentsAnswered

Hello,

I want to start opatch in a batch Script.

If I do so, this opatch don't comes back to the batch.

for example  LSINVENTORY.bat:

set ORACLE_HOME=C:\Programme\Ora1120\product\11.2.0\client
set path= %Path%;C:\Programme\ora1120\product\11.2.0\client\perl\bin

echo before opatch

%ORACLE_HOME%\OPatch\opatch lsinventory
echo after opatch

exit

"echo after opatch"  is never reached.

How do you start opatch in a script, that it comes back to the script?

I have tried different ways, but my trials wasn't successful?

Regards

Annette

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center