Output Length. The L correlative tests the length of data to determine whether or not it should be output.
Format
L n [,m] |
Parameter(s)
n |
Specifies a maximum length of n characters. Data exceeding this length produces a null value. If n = 0, the length of the value is returned. |
n,m |
Specifies a range of n to m characters. Data that does not fall within this range produces a null value. |
Using the L Correlative
The L correlative verifies data based on the data’s length, and produces no result when the test fails. For instance, if a product identification number (or price) was between three digits and five digits in length, the following correlative would restrict unverified data from appearing in a report:
L3 , 5 |
See Also