pcompress: syntax and options

Syntax and options for the pcompress operator


pcompress [-compress | -expand]
           [-command compress | gzip]
Table 1. Pcompress options
Option Use
-compress -compress

This option is the default mode of the operator. The operator takes a data set as input and produces a compressed version as output.

-expand -expand

This option puts the operator in expand mode. The operator takes a compressed data set as input and produces an uncompressed data set as output.

-command -command "compress" | "gzip"

Optionally specifies the UNIX command to be used to perform the compression or expansion.

When you specify "compress" the operator uses the UNIX command, compress -f, for compression and the UNIX command, uncompress, for expansion. When you specify "gzip", the operator uses the UNIX command, gzip -, for compression and the UNIX command, gzip -d -, for expansion.

The default mode of the operator is -compress, which takes a data set as input and produces a compressed version as output. Specifying -expand puts the command in expand mode, which takes a compressed data set as input and produces an uncompressed data set as output.