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).
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).
For an example of an OUTFIL control statement that uses the VLTRIM parameter, see OUTFIL Control Statement Format.