VLTRIM Parameter (Optional) - mfx - 3.1

Syncsort™ MFX Programmers Guide

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ Software
Product
Syncsort™ MFX > MFX
Version
3.1
Language
English
ContentType
Programmer’s Guide
Product name
Syncsort™ MFX
Title
Syncsort™ MFX Programmers Guide
Topic type
How Do I
Copyright
2024
First publish date
2010
ft:lastEdition
2024-08-27
ft:lastPublication
2024-08-27T08:14:56.318001

The VLTRIM parameter defines a byte to be deleted from the end of a variable-length record. All prior occurrences of this byte will also be deleted until a byte that is not equal to the trim byte is found. The resulting records are decreased in record length. However, VLTRIM will not delete the first data byte, the ANSI carriage control character, or the Record Descriptor Word (RDW).

The format of the VLTRIM parameter is illustrated below.
Figure 1. VLTRIM Format

b specifies the byte to be deleted from the end of the record. b can be specified as either a character or hexadecimal value. Specify either C'x' where x is a single EBCDIC character or X'hh' where hh represents a hexadecimal digit pair (00-FF).

Note: VLTRIM is ignored if used with fixed-length output records. VLTRIM may not be used with the IFTRAIL parameter.

For an example of an OUTFIL control statement that uses the VLTRIM parameter, see OUTFIL Control Statement Format.