The ccss_unpack command unpacks one or more components of a ccss image.
ccss_unpack -c CcssImage [ -i InfoFile | -t Toc | -p PtfName ] [ -h ]
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.
Notes:
- At least one of the -i or the -t or the -p flags is required.
- Flags specified with an asterisk (*) are required.
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
ccss image | The ccss image is generated using the ccss_pack command. |
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. |
The backup command, ccss_pack command, ptfpkg command, tar command.