Controlling segment compression

You can expand and compress segment data during the change function.

This option is determined by the EXPAND keyword.

  • EXPAND=NO (the default) causes segment data to be written to the output area unchanged.

  • EXPAND=YES causes compressed segment data to be expanded and then recompressed before it is written to the output area. This option is useful for changing the compression exit or compression technique for the segments.

  • EXPAND=(segment1, segment2, ..., segmentn) causes only the compressed segments which are listed by name to be expanded when they are read from the input area. Data in the specified segments is recompressed before it is written to the output area.

The following figure shows an example of the EXPAND keyword with the CHANGE command.

CHANGE DBD=dbdname,EXPAND=YES

The following figure shows an example of using the EXPAND keyword to selectively specify segment expansion and recompression. Only segment1 and segment3 are expanded and recompressed; all other segments are written to the output area unchanged.

CHANGE DBD=dbdname,IAREA=ALL,
 OAREA=ALL,EXPAND=(segment1,segment3)

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments