Syntax Rules
- identifier-1 is the name of a data item containing characters to be counted or replaced. Its USAGE must be DISPLAY (implicitly or explicitly).
- Each literal is a single-character literal or one of the following figurative literals:
- ZERO
- ZEROS
- ZEROES
- SPACE
- SPACES
- QUOTE
- QUOTES
- LOW-VALUE
- LOW-VALUES
- HIGH-VALUE
- HIGH-VALUES
- ACUCOBOL-GT does not enforce the one-character limitation. If a string literal has two or more characters, it uses only the
first character.