Controlling segment expansion for Unloading and Reloading a DEDB

As an option, you can expand compressed segment data as it is written to the unload file. This option is determined by the EXPAND keyword:
  • EXPAND=NO (the default) causes segment data to be written to the unload file in the same format as it appears in the input area.

  • EXPAND=YES causes compressed segment data to be expanded before it is written to the unload file.

  • EXPAND=(segment1, segment2, ..., segmentn) causes only the compressed segments which are listed by name to be expanded before they are written to the unload file.

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

UNLOAD DBD=dbdname,IAREA=ALL,
OAREA=ALL,EXPAND=YES

The following figure shows an example of using the EXPAND keyword to selectively specify segment expansion. Only segment1 and segment3 in area1 will be expanded; all other segments will be written to the unload file unchanged.

UNLOAD DBD=dbdname,IAREA=area1,
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