Data Transformation Engine Functions and Expressions Reference Guide

Chapter 3 - Function Reference SIZE
Functions and Expressions Reference Guide
186
SIZE
The SIZE function returns an integer representing the size of a specified object,
exclusive of any pad characters.
Syntax
SIZE (single-object-expression )
Meaning
SIZE (object_whose_size_is_needed )
Returns
This function returns a single-integer.
Return the size, in bytes, of object_whose_size_is_needed. The size returned
does not include any pad characters that may be in the object.
The size of a group is the size, beginning with the first character of the first
component and ending with the last character of the last component, of the
group. If the group has delimiters, the infix delimiters are included in the size.
Example
SIZE ( Transaction ) returns 8000 if the size of Transaction without pad
characters is
8000 bytes.
Uses
Use
SIZE when you need the size of an object, exclusive of any pad
characters.