Changing segment contents for Unloading and Reloading a DEDB

The OUTPUT subcommand and its associated keywords can be used to change the content of the segment.

By default, the unload file will contain the full, unmodified contents of the input segments.

To modify the segment contents, you can use the OUTPUT subcommand with the FIELDS keyword. The FIELDS keyword specifies a list of expressions; the value of each expression is evaluated and placed into the output segment in the order that the expressions are specified. The length of the segment is computed by the product as the sum of the lengths of the values that are produced from these expressions. For information about the operations and syntax of the FIELDS keyword and syntax rules for coding expressions, see the Fast Path/EP Series Reference Manual documentation Open link .

Warning

When the FIELDS keyword is used with the OUTPUT subcommand to change the key of a dependent segment with an unload process, the segments must remain in ascending key sequence under their parent. Fast Path Reorg/EP does not have a facility to resequence the dependent segments. The reload process terminates if the dependent segments are not maintained in ascending key sequence.


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