Compress record using Unload-Reload
search cancel

Compress record using Unload-Reload

book

Article ID: 13584

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

The documentation says that RESTRUCTURE should be used to add compression to a database record.

It also says that unload/reload can be used.

Is this true?

Environment

Release: All supported releases.

Resolution

Yes. Unload/reload can be used to compress a record. The new subschema specified in the unload and reload jobs would specify the new subschema with the compression defined.

If using the IDMSCOMP/IDMSDCOM compression calls, remember:

If any record in the area uses IDMSCOMP and IDMSDCOM for compression and decompression, the area should have the following database procedure specifications:

call idmscomp before finish
call idmsdcom before finish

This ensures that the work areas used by the compression and decompression routines are freed when a rununit terminates.