[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 1


ccss_unpack Command

Purpose

The ccss_unpack command unpacks one or more components of a ccss image.

Syntax

ccss_unpack -c CcssImage [ -i InfoFile | -t Toc | -p PtfName ] [ -h ]

Description

The ccss_unpack command retrieves individual components of a ccss format file. A ccss image includes an infofile, a toc, and a PTF image. The PTF image may be in backup or tar format.

In a ccss image the infofile is in ebcdic format. The ccss_unpack command does not convert the infofile back into ascii format. To convert the infofile back into ascii format for viewing, use the following command:

dd if=ebcdic file of=ascii file conv=ascii cbs=80 

The ebcdic file is the file returned from using the ccss_unpack command with the -i flag, and the ascii file is the file name where the ascii version of the infofile should be stored.

Flags


*-c CcssImage Specifies the location of the input ccss image.
-h Specifies help or usage information.
-i InfoFile Specifies the location for storing the ebcdic infofile extracted from the ccss image.
-p PtfName Specifies the location for storing the bff or tar PTF image.
-t Toc Specifies the location for storing the toc file extracted from the ccss image.

Notes:
  1. At least one of the -i or the -t or the -p flags is required.
  2. Flags specified with an asterisk (*) are required.

Example

To use the ccss_unpack command to extract the toc and infofiles for the ccss image U463905.ptf, type:

ccss_unpack -c U463905.ptf -i info -t toc

Input File


ccss image The ccss image is generated using the ccss_pack command.

Output Files


infofile The infofile is in ebcdic format. It must be converted back to ascii format for viewing.
PTF The PTF image is the tar or backup format file. This file should be created using the ptfpkg command. It can be manually generated by creating the lpp_name and liblpp.a files and using the tar or backup commands to create the image.
toc The toc file is typically the lpp_name file from the bff or tar PTF image. It is in ascii format.

Related Information

The backup command, ccss_pack command, ptfpkg command, tar command.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]