The l processing code either restricts processing to values that fall within certain length restrictions or displays the length of a given value.

System Processors | Update |

Code Type | Attribute Defining |

Dictionary Attributes | Input Conversion |

Ln{,m}

n |
The value will be output only if the length of the string
is equal to the specified length; otherwise a null is returned. If
the length specified is 0, the length of the data is returned. If
a maximum (m) length is specified, then nrepresents the minimum length and the value will be output
only if the length of the string is equal to or greater than the minimum
value and equal to or less than the maximum value. Otherwise a null
is returned. |

m |
If specified, the value will be output only if the length
of the string is equal to or greater than the minimum specification
(n) and equal to or less than m. Otherwise a null is returned. |

Returns the total field length of all characters in the field.

L0

Outputs data if the field length is exactly nine characters.

L9

Outputs data if the field length is greater than or equal to three characters and less than or equal to nine.

L3,9