Compressing/Expanding Quality Output Files - trillium_discovery - trillium_quality - 17.1

Trillium DQ Repository Administrator Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Discovery
Trillium > Trillium Quality
Version
17.1
Language
English
Product name
Trillium Quality and Discovery
Title
Trillium DQ Repository Administrator Guide
Topic type
Administration
Overview
How Do I
Configuration
Reference
Installation
First publish date
2008

When you run a Trillium Quality project, each process creates an output file. Depending on the size of your original source file and the complexity of your project, the resulting output files can take up a large amount of disk space. To conserve disk space, Trillium DQ provides two distinct options:

  • Piping data from process to process. When you pipe data, only the final output file is created. This is a good option if you have already validated each step, but not if you are still testing the project.

  • Compressing output data. When you compress data, Trillium creates an output file for each process but, because the data is compressed, the output files are significantly smaller. (The final output file is not compressed.) You can review individual output files in the same way that you would review non-compressed files.
    Note: In some instances, compressing Trillium Quality output files adversely affects performance.

Both piping and compression are enabled through the Control Center. This section describes the command line option that enables you to compress or expand an individual file.

The syntax of the compress command is:

tranfrmr -compress filein reclen fileout

where filein is the name of the Trillium file that you want to compress, reclen is the length of the records in the input file, and fileout is the name you want to give to the compressed file. For example:

tranfrmr -compress tranfrmr04.dat 129 tranfrmr04.compress

The syntax of the expand command is:

tranfrmr -uncompress filein fileout

where filein is the name of the file you want to expand and fileout is the name of the expanded file. For example:

tranfrmr -uncompress tranfrmrZ_04.tsz transfrmrZ_04.expand
Note: If you omit the fileout argument from either command, the output is written to the screen.