LCU - Unicode Leading Characters

#### Search Results

Search

# LCU - Unicode Leading Characters

With this session parameter, you can specify leading characters that are displayed immediately before a field output by a `DISPLAY` statement. The width of the output column is enlarged accordingly.

Possible settings | any character | Up to 10 characters may be specified. Notes: Leading characters may optionally be specified enclosed within apostrophes, in which case, any characters can be specified. Any character string specified which contains a closing parenthesis or a quotation mark must be enclosed within apostrophes. A circumflex (`^`) is used to represent a blank in a character string not enclosed within apostrophes.
Default setting | none |
Specification within session | yes |
Applicable statements | `FORMAT` | Parameter may be specified dynamically with the `FORMAT` statement.
`DISPLAY` | Parameter may be specified at statement level and/or at element level.
Applicable command | none |

Notes:

1. The session parameter `LCU` is identical to the session parameter `LC`. The difference is that the leading characters are always stored in Unicode format. This allows you to specify leading characters with mixed characters from different code pages, and assures that always the correct character is displayed independent of the installed system code page.
2. The session parameters `LCU` and `ICU` are mutually exclusive.

See also:

- Parameters to Influence the Output of Fields in the Programming Guide

- Unicode and Code Page Support in the Natural Programming Language, Session Parameters, EMU, ICU, LCU, TCU versus EM, IC, LC, TC in the Unicode and Code Page Support documentation.