IC - Insertion Character

With this session parameter, you specify the character string to be inserted in the column immediately preceding the value of a field output with a DISPLAY statement. The width of the output column is increased accordingly.

Possible settings any character Character string to be inserted. You can specify a string of one to ten characters.

Note:
Insertion characters may optionally be specified 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 blank in a character string not enclosed within apostrophes is represented by a circumflex accent (^).

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 insertion character is inserted between leading spaces and the field value whereas the leading character is output in front of the leading space.
  2. For numeric values, the insertion characters will be placed before the first significant digit printed.
  3. The IC and LC parameters are mutually exclusive.
  4. The parameter IC can also be used with U format fields.
  5. 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 in the Unicode and Code Page Support documentation.
  6. The difference between the session parameters LC, LCU and IC, ICU will be evident, if the corresponding field is output right justified (session parameter AD=R).
  7. See also Parameters to Influence the Output of Fields in the Programming Guide.

Examples:

DISPLAY AA(IC=*)
DISPLAY SALARY(IC='$')