21.02.2013 Views

System i: Programming i5/OS PASE - IBM

System i: Programming i5/OS PASE - IBM

System i: Programming i5/OS PASE - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

export $PATH=$PATH:/QOpenSys/xlcpp/usr/vacpp/bin<br />

PTF update instructions:<br />

Installation of program temporary fixes (PTFs) for the XL C/C++ for AIX, XL C for AIX, or XL Fortran<br />

for AIX product is accomplished through the same nondefault installation script that is used for the initial<br />

compiler installation.<br />

Before installing the PTFs, you must have already installed the compilers using the previous steps in this<br />

topic.<br />

To install PTFs for the XL C/C++ for AIX, XL C for AIX, or XL Fortran for AIX product on <strong>i5</strong>/<strong>OS</strong> <strong>PASE</strong>,<br />

follow these steps:<br />

1. Obtain the PTF package files to be installed. You can download compressed TAR images of the<br />

compiler PTF packages from the support download section of the product Web site.<br />

2. Uncompress and then untar the PTF package files. If you have downloaded the compressed TAR<br />

images to the /QOpenSys/vacptf/ directory, you can use these commands from a QP2TERM<br />

command line to do this:<br />

cd /QOpenSys/ptf<br />

uncompress <br />

tar -xvf <br />

3. Create a file containing a list of the PTF packages to be installed. To do so, use these commands on a<br />

QP2TERM command line:<br />

cd /QOpenSys/ptf<br />

ls *.bff > ptflist.txt<br />

4. Check and update, if necessary, the non-default installation (NDI) tool itself. The updated version of<br />

the NDI tool needs to be restored first in order to use the updated version to install the rest of the<br />

PTF package. Use the commands that apply to the compiler you are updating from the table below.<br />

As you follow the steps in the table:<br />

v If the ls command from the table returns an error message indicating the file does not exist, then<br />

the ndi tool is not updated by the PTF package. Skip the remaining commands in the table and<br />

continue on with the next step in these instructions.<br />

v If the ls command from the table does return a file name, make a note of this file name and use<br />

that file name in the restore command in the table below. For example, if the file name returned is<br />

vacpp.ndi.09.00.0000.0006.bff, then replacing the vacpp.ndi.WW.XX.YYYY.ZZZZ.bff file name<br />

shown in the restore command with the actual name returned would result in the following restore<br />

command:<br />

restore -qf vacpp.ndi.09.00.0000.0006.bff ./usr/vacpp/bin/vacppndi<br />

Compiler Commands<br />

For XL C/C++ for AIX: cd /<br />

ls /QOpenSys/ptf/vacpp.ndi.*<br />

restore -qf vacpp.ndi.WW.XX.YYYY.ZZZZ.bff ./usr/vacpp/bin/vacppndi<br />

For XL C for AIX: cd /<br />

ls /QOpenSys/ptf/vac.ndi.*<br />

restore -qf vac.ndi.WW.XX.YYYY.ZZZZ.bff ./usr/vac/bin/vacndi<br />

For XL Fortran for AIX: cd /<br />

ls /QOpenSys/ptf/xlf.ndi.*<br />

restore -qf xlf.ndi.WW.XX.YYYY.ZZZZ.bff ./usr/lpp/xlf/bin/xlfndi<br />

5. Run the installation script to install the PTFs. Based on the compiler you are updating, enter one of<br />

the following commands from the QP2TERM command line.<br />

<strong>i5</strong>/<strong>OS</strong> <strong>PASE</strong> 13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!