/
/ $Header: oui/source/oracle/opatch/opatchfmw/checkapplicable_help.txt /main/2 2010/01/08 13:52:30 vganesan Exp $
/
/ checkApplicable_help.txt
/
/ Copyright (c) 2009, Oracle. All Rights Reserved.
/
/   NAME
/     checkApplicable_help.txt - <one-line expansion of the name>
/
/   DESCRIPTION
/     <short description of component this file declares/defines>
/
/   NOTES
/     <other useful comments, qualifications, etc.>
/
/   MODIFIED   (MM/DD/YY)
/   supal          11/15/09 - Middleware Home is the default
/   phnguyen       08/15/09 - Help text for checkApplicable command
/   phnguyen       08/15/09 - Creation
/
DESCRIPTION
	This operation checks if a given patch is applicable to one or more
	Oracle Homes.

 	For a Fusion Middleware installation, OPatch will look for Oracle Homes 
        present under the Middleware home and registered with a single defined 
        central inventory. If environment variable MW_HOME (or) 'mw_home' option
        is not defined and the ORACLE_HOME environment variable or 'oh' option
        is also not defined then OPatch will run the command on the applicable
        Middleware Home. If ORACLE_HOME environment variable is defined or the 
        'oh' option is given, OPatch will run the command on the referenced 
        Oracle Home with precedence given to the 'oh' option.
      
        Examples of patches not applicable are:
        - Patches requiring components that are not installed in
          the Oracle Home (or) installed but not of the same version.
        - Files mentioned by patch metadata could not be patched.


SYNTAX
	opatch checkApplicable  -ph <Patch location>
                                [-invPtrLoc <Path to oraInst.loc file> ]
                                [-mw_home <Path of the middleware home> ]
                                [-oh <Path of the reference oracle home> ]

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

 	   -mw_home
                Path of the Middleware Home. This takes precedence over
                MW_HOME environment variable.
 
           -oh
                The oracle home to work on. This takes precedence over the
                environment variable ORACLE_HOME. This also ensures that the
                command runs only on this Oracle Home. 
    
           -ph
           	The location of the patch to be checked if it is applicable.


PARAMETERS
	The location of the patch to be queried

