-- upgrade 10.1.0 java vm to 11.2.0 -- This script can not function properly in SVRMGR. The following -- lines are intended to abort the script if it is being run with -- SVRMGR, but will be interpreted simply as remarks by SQLPLUS. rem - set stoponerror on rem - This script must be run with SQLPLUS, not SVRMGRL -- This script may only be run as a subscript of jvmdbmig.sql. -- To enforce this, the following will abort the script if it is -- run standalone. whenever sqlerror exit; /* /* ## If the following sequence results in ## SP2-0552: Bind variable "JVMUDACTION" not declared. ## followed by ## ORA-01476: divisor is equal to zero ## thereby causing SQLPLUS to exit, it is because this script is ## not being run as a subscript of jvmdbmig.sql, as required. */ variable scratch varchar2(30) execute :scratch := :jvmudaction; :scratch := 'not null'; declare z number := 0; begin if :scratch is null then z := 1/z;end if;end; / whenever sqlerror continue; -- do a subset of initjvm as part of upgrade @@jvmursc -- actions to upgrade 10.1.0 components to 11.2.0 @@jvma101