DESCRIPTION
    This operation is used to Rollback a set of patches at a time.
    Use -silent to Rollback the patches in silent mode.

SYNTAX
opatch nrollback -id <comma-separated list of patch IDs>
                      [ -all_nodes ]  
		      [-connectString  <List of connect strings>]  
		      [-customLogDir  <path to custom log direcotry>]
		      [-delay <value>] -id <Comma separated list of patch IDs>
                      [-idFile <file location containing a list of
                       rollback IDs separated by commas or white spaces>
                      [-init <parameters for the init script in escaped double
                       quotes> [-opatch_init_end] ]
                      [-invPtrLoc <Path to oraInst.loc> ]
                      [-jre <LOC> ] [-local] 
                      [-local_node <Local node name>]
                      [-no_relink] [-oh <ORACLE_HOME> ] [-oop] [-optimize]
                      [-phase_one][-phase_two]   
                      [-post <parameters for the post script in 
                       escaped double quotes>[ -opatch_post_end] ]
                      [-pre <parameters for the pre script in 
                       escaped double quotes> [-opatch_pre_end] ]
                      [-property_file <Path to property file>]
                      [-ptlConnect <portal connect string>]
		      [-ptlPassword <portal password>]
		      [-ptlSchema <portal schema>] 
                      [-remote_nodes <List of remote nodes (node1,node2)>]
                      [-retry <value>] [-runSql]  [-silent] 
                      [-sqlScript <path of the sql file>]
                      [-verbose]

                      
OPTIONS
       -all_nodes
              Rollback the patch using all-nodes mode.

       -connectString
              This option can be used to specify the list of database
              instances on which the patch needs to be applied. The
              value for this option is specified as per the following
              syntax "SID:User:Passwd:Node". The SID is a must, others
              can be ignored, OPatch takes default values for it.
              Ex: oracle:dba:dba:mymachine,oracle1:::
              NOTE: If the system is not part of RAC setup, then to
              patch just the local node, provide the node name as
              empty string.

       -customLogDir
              This option specifies the custom log location.

       -delay
              If -retry is specified, this option tells OPatch how
              many seconds it should wait before attempting to lock
              inventory again in case of a previous failure.

       -id
              Use 'lsinventory' option to display all patch ids.
              Each one-off patch is indicated by its id. To rollback
              a patch the id for that patch must be supplied. A comma
              separated list of patches to be rolled back must be given.
              For translation patches, the patch id should be of the
              format <Patch ID>/<Language code> (ex: 1234/fr)


       -idFile 
              Use 'lsinventory' option to display all patch ids.
              Each one-off patch is indicated by its id. To rollback a patch,
              the id for that patch must be supplied. The input to be given is
              a file location that contains a list of rollback patch ids 
              separated by commas or white spaces. For translation patches,
              the patch id should be of the format <Patch ID>/<Language code>.
              This option cannot to be in conjunction with 'id' option.

       -init
              This option is used to pass parameters to the init
              script. This script is executed before prerequisite checks
              are run. The value for this option have to be enclosed
              in double quotes. The parameters will be common parameters which
              will be passed to init scripts of all patches being rolled back.
              This option should be ended by option 'opatch_init_end'.

       -invPtrLoc
              Used to locate the oraInst.loc file. Needed when the
              installation used the invPtrLoc flag. This should be
              the path to the oraInst.loc file.

       -jre
              This option tells OPatch to use JRE (java) from the
              specified location instead of the default location
              under Oracle Home. 

       -local
              Roll back then update inventory of the local node.
              Do not propagate the patch or inventory update to other
              nodes.

       -local_node
              This option can be used to specify to OPatch the local
              node name to be used for RAC mode rollback of the patch.

       -no_relink
              Do not perform the make operations in the patch. This
              option can be used during multiple patch removals and
              perform the compilation step only once.

       -oh
              The oracle home to work on. This takes precedence over
              the environment variable ORACLE_HOME.

       -oop   
              This option is to trigger OPatch self patching Out-of-place
              mode.

       -opatch_init_end
              This option is used to mark the end of init options.
              Without this option everything after init till end of
              the command is passed into init. This option is
              meaningless without -init option.

       -opatch_post_end
              This option is used to mark the end of post options.
              Without this option everything after post till end of
              the command is passed into post. This option is
              meaningless without -post option.

       -opatch_pre_end
              This option is used to mark the end of pre options.
              Without this option everything after pre till end of
              the command is passed into pre. This option is
              meaningless without -pre option.

       -optimize
	      This option is used to rollback not only the patch but also
	      its dependent patches (prereq/overlay) recursively, if they exist.

       -phase_one
              This option runs CAS nrollback phase one, During this phase, CAS
              pre-calculate/process all the metadata/files and store them in CAS repository.
              Real oracle home files will not be impacted during this phase.OPatch
              nrolllback -phase_one must be followed by opatch nrollback -phase_two. No
              other OPatch write combination is valid. If one runs phase one repeatedly,
              the last phase one is the valid one to be used for phase two.
       
       -phase_two
              This option runs CAS nrollback phase two, commit rollback
              changes to the oracle home.
              In below scenarios, OPatch will not proceed with phase two:
              (1) OPatch does not run phase-one, or phase-one result becomes invalid.
              (2) OPatch phase-one failed with no patches to continue.
              (3) OPatch phase-one completed with warnings because all incoming patches
                  are no-op.
       
       -post
              This option is used to pass parameters to the post
              script.  This script is executed after removal of the
              patch. The value for this option have to be enclosed
              in double quotes. The parameters will be common parameters 
              which will be passed to post scripts of all patches being 
              rolled back. This option should be ended by option
              'opatch_post_end'.

       -pre
              This option is used to pass parameters to the pre script. 
              This script is executed before removal of the patch. The
              value for this option have to be enclosed in double quotes.
              The parameters will be common parameters which will be
              passed to pre scripts of all patches being rolled back.
              This option should be ended by option 'opatch_pre_end'.

       -property_file
              The user defined property file for OPatch to use. The
              path to the property file should be absolute. This
              property file takes precedence over the one that is
              supplied with OPatch.

       -ptlConnect
              This option can be used to specify the connect string of the
              portal schema

       -ptlPassword
              This option can be used to specify the password of the portal
              schema


       -ptlSchema
              This option can be used to specify the schema of the portal
              repository patch

       -remote_nodes
              This option can be used to specify to OPatch the list
              of remote nodes to be used for RAC mode rollback of 
              the patch. The node names are comma separated and
              without spaces.

       -report
              Just prints out the actions, without executing.

       -retry
              This option tells OPatch how many times should retry in
              case of an inventory lock failure.

       -runSql
              This option can be used to specify OPatch to run the
              sql scripts and sql procedures if they are present in the
              given patch.

       -silent
              This suppresses any user-interaction and defaults any
              Y|N question to Y. This option is not supported on
              RAC yet.

       -sqlScript
              This option can be used to specify the custom sql script
              to be run by OPatch after patching is completed

       -verbose
              This option prints more OPatch output to the screen
              as well as to the log file. 

Example:
'opatch nrollback -id 1,2,3' to roll back patches 1, 2, and 3
  that have been installed in the Oracle Home.
'opatch nrollback -id 1/fr,2/de to rollback patches 1 with language 'fr',
2 with language 'de' that have been installed in the Oracle Home.

