LITCHAR

LITCHAR affects whether the QUOTE figurative constant represents quotation marks or apostrophes.

Syntax

Read syntax diagramSkip visual syntax diagramLITCHAR=*QUOTEAPOST
Default
LITCHAR=QUOTE
APOST
Use APOST if you want the figurative constant [ALL] QUOTE or [ALL] QUOTES to represent one or more apostrophe (') characters.
QUOTE
Use QUOTE if you want the figurative constant [ALL] QUOTE or [ALL] QUOTES to represent one or more quotation mark (") characters. QUOTE conforms to the 85 COBOL Standard.
Note:
  • Either quotation marks or apostrophes can be used as literal delimiters, regardless of whether the APOST or QUOTE option is in effect.
  • The delimiter character used as the opening delimiter for a literal must be used as the closing delimiter for that literal.