<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/styles/XMLStylesDoc_xhtml11_en.xsl"?><!DOCTYPE document SYSTEM "/schemas/XMLStyles10.dtd">
<document xmlns="http://XMLStyles.com/namespaces/styles" xmlns:xst="http://XMLStyles.com/namespaces/styles" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:date="http://exslt.org/dates-and-times">
   <noxml>
      <p xmlns="http://www.w3.org/1999/xhtml"/>
      <!-- You are viewing the source.  The following message should be ignored if you did "View Source" in your browser. -->
      <p xmlns="http://www.w3.org/1999/xhtml">
ATTENTION: XML WEB PAGES NOT SUPPORTED
   If you see this message, your current browser does not support the
   1999 XSLT 1.0 (or later) standard for XML web pages such as this one.
   Please upgrade your browser to a newer version
   that supports 1999 or later standards such as:
      Mozilla Firefox version 1.0.2 or later (GetFirefox -&gt; http://www.GetFirefox.com/)
      Netscape version 8 or later
      Safari version 1.3 or later
      Opera version 9 or later
      Microsoft Internet Explorer (MSIE) version 5 or later
   For further assistance, contact the software vendor for your browser.
   To go to the X<!-- extended HTML -->HTML version of this page click the following link:
<a href="index.html">index.html</a>
      </p>
      <p xmlns="http://www.w3.org/1999/xhtml">&#160;</p>
   </noxml>
   <path>/computers/databases/oracle/</path>
   <site>How To Guides</site>
   <logo xlink:type="simple" xlink:href="/images/howtohome.jpg" media="screen" width="240" height="34">How To Guides</logo>
   <logo xlink:type="simple" xlink:href="/images/howtoguides.jpg" media="print" width="240" height="34">How To Guides</logo>
   <logo xlink:type="simple" xlink:href="/images/howtoguidesmobile.jpg" media="handheld" width="150" height="17">How To Guides</logo>
   <navigation where="sections">
      <label>How To Guides</label>
      <link xlink:type="simple" xlink:href="/business/index.xml">Business</link>
      <link xlink:type="simple" xlink:href="/computers/index.xml">Computers</link>
      <link xlink:type="simple" xlink:href="/computers/databases/index.xml">Databases</link>
      <link xlink:type="simple" xlink:href="/internet/index.xml">Internet</link>
      <link xlink:type="simple" xlink:href="/mobile/index.xml">Mobile</link>
      <link xlink:type="simple" xlink:href="/money/index.xml">Money</link>
      <link xlink:type="simple" xlink:href="/movies/index.xml">Movies</link>
      <link xlink:type="simple" xlink:href="/computers/os/index.xml">Operating Systems</link>
   </navigation>
   <navigation where="up">
      <link xlink:type="simple" xlink:href="../../">Computers</link>
      <link xlink:type="simple" xlink:href="../">Databases</link>
   </navigation>
   <navigation where="subsections">
      <link xlink:type="simple" xlink:href="/computers/databases/design.xml">Design</link>
      <link xlink:type="simple" xlink:href="/computers/databases/tuning.xml">Tuning</link>
      <link xlink:type="simple" xlink:href="/computers/databases/derby/">Apache Derby</link>
      <link xlink:type="simple" xlink:href="/computers/databases/ibmdb2/">IBM DB2</link>
      <link xlink:type="simple" xlink:href="/computers/databases/mysql/">MySQL</link>
      <link xlink:type="simple" xlink:href="index.xml">Oracle</link>
      <link xlink:type="simple" xlink:href="/computers/databases/sqlserver/">SQL Server</link>
   </navigation>
   <section id="body" type="body">
      <pages id="ibmzos" name="ibmzos">
         <title>Oracle on IBM z/OS</title>
         <label>Oracle on z/OS</label>
         <navigation where="pages">
            <label>Oracle on z/OS</label>
            <link xlink:type="simple" xlink:href="ibmzos.xml">Oracle on z/OS</link>
            <link xlink:type="simple" xlink:href="zosinstall.xml">z/OS Install</link>
            <link xlink:type="simple" xlink:href="netservices.xml">OSDI Services</link>
         </navigation>
         <navigation where="up">
            <link xlink:type="simple" xlink:href="index.xml">Oracle</link>
         </navigation>
         <h1>Installing and running Oracle on IBM z/OS</h1>
         <page id="N10628" name="zosinstall">
            <title>Installing Oracle on IBM z/OS</title>
            <label>z/OS Install</label>
            <description>Installing and Oracle on IBM z/OS.</description>
            <navigation where="up">
               <link xlink:type="simple" xlink:href="ibmzos.xml" xlink:title="Oracle on z/OS">on z/OS</link>
            </navigation>
            <subpage id="N10637" name="zosinstaller">
               <title>Runing Oracle Universal Installer (OUI) on z/OS</title>
               <label>OUI on z/OS</label>
               <h1>Runing Oracle Universal Installer (OUI) on z/OS</h1>
               <ol>
                  <li>If necessary , delete any dumps or other /tmp files, UNIX files
                     and <acronym term="Multiple Virtual Storage">MVS</acronym> datasets from a previous installation failure.
                  </li>
                  <li>
                     <link xlink:type="simple" xlink:href="/computers/os/ibmzos/uss/telnet.xml">Connect to UNIX on z/OS via Telnet</link>
                  </li>
                  <li>Make sure <code>/etc/startup.mk</code> exists.
                     If not, copy it from <code>/samples/startup.mk</code>.
                     OUI may crash with Java and CEE dumps if it does not exist.
                  </li>
                  <li>Set up the environment for the required version of Java and start OUI:
                     <blockcode>
                        <l>export PATH=/bin:/usr/lpp/java/J1.4/bin</l>
                        <l>export JAVA_HOME=/usr/lpp/java/J1.4</l>
                        <l>/usr/lpp/Oracle/runInstaller -ignoresysprereqs &gt; ~/ouistdout 2&gt; ~/ouistderr</l>
                     </blockcode>
                     Redirecting STDOUT and STDERR prevent OUI from failing with a <code>IEC141I 013-C0</code> error on the <acronym term="Multiple Virtual Storage">MVS</acronym> console.
                  </li>
                  <li>Rename the <code>~/ouistdout</code> and <code>~/ouistderr</code>
                     before starting OUI for the next installation or configuration.
                  </li>
               </ol>
            </subpage>
            <subpage id="N1066C" name="zospatches">
               <title>Installing Patches on z/OS</title>
               <label>Patches</label>
               <h1>Installing Patches on z/OS</h1>
               <ol>
                  <li>Log into USS with the login ID which owns the Oracle installation directories.
                  </li>
                  <li>Download the patch to be installed and put it in the ORACLE_HOME directory.
                  </li>
                  <li>Download the latest version of OPatch (patch #4898608) and put it in the ORACLE_HOME directory.
                  </li>
                  <li>Download the OS/390 version of the UnZip utility from the Oracle Metalink
                      <link xlink:type="simple" xlink:href="http://updates.oracle.com/unzips/unzips.html">UnZip Utilities Download page</link>.
                  </li>
                  <li>Uncompress the UnZip utility and add execute permission:
                     <blockcode>
                        <l>uncompress unzip_os390.Z</l>
                        <l>chmod ug+x unzip_os390</l>
                     </blockcode>
                  </li>
                  <li>UnZip OPatch and the patch to be applied:
                     <blockcode>
                        <l>./unzip_os390 -a p4898608_10203_GENERIC</l>
                        <l>./unzip_os390 p<i>nnnnnnn</i>_10203_MVS</l>
                     </blockcode>
                     Use the <code>-a</code> option when extracting OPatch to convert ASCII to EBCDIC.
                     The patch itself probably contains binary files and may not need to be extracted
                     with the <code>-a</code> option, but it might not hurt to include it anyway.
                  </li>
                  <li>Make sure the environment variables and <code>PATH</code> are properly set:
                     <blockcode>
                        <l>export JAVA_HOME=/usr/lpp/java/J1.4</l>
                        <l>export ORACLE_HOME=/usr/lpp/Oracle/product/otg/10.2.0.3</l>
                        <l>export ORACLE_HLQ_PDS=ORACLE.OTG.V10203</l>
                        <l>export PATH=$ORACLE_HOME/OPatch:$ORACLE_HOME/perl/bin:$PATH</l>
                     </blockcode>
                     The <code>PATH</code> should include the <code>OPatch</code> directory and
                     the directory that contains the version of Perl that was installed with Oracle.
                  </li>
                  <li>Verify the versions of Java and Perl:
                     <blockcode>
                        <l>java -version</l>
                        <l>perl -version</l>
                     </blockcode>
                  </li>
                  <li>Make sure <code>oraInst.loc</code> points to the correct oraInventory location
                     (ex: <code>$ORACLE_BASE/oraInventory</code> or <code>$ORACLE_HOME/oraInventory</code>).
                     <blockcode>
                        <l>cat /var/opt/oracle/oraInst.loc</l>
                        <l class="output">#Oracle Installer Location File Location</l>
                        <l class="output">#Ddd Mmm dd hh:mm:ss ZZZ yyyy</l>
                        <l class="output">inst_group=MVSNFSC</l>
                        <l class="output">inventory_loc=/usr/lpp/Oracle/10.2.0.3/oraInventory</l>
                     </blockcode>
                  </li>
                  <li>Verify <code>oraInventory</code> exists where indicated by <code>oraInst.loc</code>:
                     <blockcode>
                        <l>ls -l /usr/lpp/Oracle/10.2.0.3/oraInventory</l>
                     </blockcode>
                  </li>
                  <li>Test running OPatch:
                     <blockcode>
                        <l>opatch lsinventory</l>
                     </blockcode>
                  </li>
                  <li>Shut down the gateways if they are running.
                  </li>
                  <li>Perform any pre-installation instructions indicated by the ReadMe file,
                     such as allocating data sets.
                  </li>
                  <li>Apply the patch:
                     <blockcode>
                        <l>cd <i>nnnnnnn</i>​</l>
                        <l>opatch apply</l>
                     </blockcode>
                  </li>
                  <li>Perform any post-installation instructions indicated by the ReadMe file.
                  </li>
               </ol>
            </subpage>
            <updated local="2006-10-18">Wednesday October 18, 2006</updated>
         </page>
      </pages>
   </section>
   <copyright>Copyright © 2006 How To Guides .com. Alteration of content, including addition of any function such as hypertext links or pop-up advertising, or interference with the hypertext links or other functions of this site is expressly prohibited.</copyright>
   <disclaimer>All information, links, forms, applications and other items on this site or obtained from it are provided <b>AS IS</b>, WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.</disclaimer>
   <ids urchin="UA-779578-2"/>
</document>

