Preparing a PTF package for installation

Updates to the compiler are supplied as PTF packages. Before these PTF packages can be used to update the compiler, they must be downloaded and uncompressed, and a .toc file must be generated.

To prepare the update package for installation, follow these steps:
Remember: You must be logged in as root or have superuser authority.
  1. Download the desired PTF package (for example cobol.41.aix.YYMMDD.tar.Z) into an empty directory.
  2. Restore the compressed file and extract the PTF filesets from the downloaded package:
    1. To uncompress the file, use the command:
      zcat package_name.tar.Z
    2. To unpack the resulting tar file, use the command:
      tar -xvf package_name.tar
  3. Use the command inutoc directory_name to generate a .toc file in the same directory as the unpacked filesets.
The following example shows the steps to prepare the package, cobol.41.aix.YYMMDD.tar.Z, located in the new directory, /compiler/update/ for installation:
cd /compiler/update
zcat -f cobol.41.aix.YYMMDD.tar.Z
tar -xvf cobol.41.aix.YYMMDD.tar
inutoc .