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.
- Download the desired PTF package (for example cobol.41.aix.YYMMDD.tar.Z) into
an empty directory.
- Restore the compressed file and extract the PTF filesets from
the downloaded package:
- To uncompress the file, use the command:
zcat package_name.tar.Z
- To unpack the resulting tar file, use the command:
tar -xvf package_name.tar
- 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 .