To install a PTF by using the installp command
and write the output to a log file, run this command:

>>- ---installp-- -ag--+-----+--+-----+--+-----+--+----------------------------+--+--------------+--fileset_names-><
'- -p-' '- -X-' '- -E-' '- -d--PTF_filesets_location-' '- -e--logfile-'
installp -aXgd PTF_filesets_location -e logfile fileset_names
- -ag
- Specifies that all the latest installable and requisite filesets
available in the PTF_filesets_location directory are applied
and committed.
- -p
- Performs a preview of the installation process by running the
preinstallation checks. See Using installp.
- -X
- Attempts to expand the file system at the default location if
there is insufficient space to complete the install.
- -E
- Displays software license agreements. This flag is only valid
with the -a or -l flags. If the -E flag is specified
with the -a flag, a new section is displayed showing the pending
license agreements associated with the selected filesets. If the -E flag
is specified with the -l flag, output is displayed showing
the license agreements associated with all filesets on the media.
- -d PTF_filesets_location
- Specifies the directory where the filesets are located. This path
might also be a mounted CD-ROM drive.
- -e logfile
- Specifies the name and location of the installation log file.
- fileset_names
- Specifies a list of names of the filesets in PTF_filesets_location that
you want to install.
Tip: The keyword all can be
used to indicate that all filesets must be attempted during installation.
The following example installs all available PTF filesets in the /compiler/update/ source
directory to the default locations, as specified in Filesets, and writes an installation
log file to /tmp/install.log.
Example:
installp -aXgd /compiler/update/ -e /tmp/install.log all