LC - 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 increased accordingly.

Possible settings any character Up to 10 characters may be specified.

Notes:

  1. Leading characters may optionally be specified enclosed within apostrophes, in which case, any characters can be specified.
  2. Any character string specified which contains a closing parenthesis or a quotation mark must be enclosed within apostrophes.
  3. 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 parameters LC and IC are mutually exclusive.
  2. The parameter LC can also be used with U format fields.
  3. For information on Unicode format, see also Unicode and Code Page Support in the Natural Programming Language, Session Parameters, EMU, ICU, LCU, TCU versus EM, IC, LC, TC.
  4. See also Parameters to Influence the Output of Fields in the Programming Guide.

Example:

DISPLAY {LC=*}