Restrictions on LangX COBOL expressions
In addition to the requirement that LangX COBOL expressions be enclosed in apostrophes ('), the following restrictions apply to LangX COBOL expressions:
- The following operators are supported by z/OS® Debugger in LangX
COBOL expressions:
- IN or OF
- Subscript / index
- LENGTH OF
- +, -, *, /
- // (remainder)
- || (concatenation)
- ( )
- In a subscript or index list, the subscript or index expressions must be separated by a comma. A space is not sufficient for separating subscript or index expressions.
- Lower-case letters are accepted in contexts other that non-numeric literals as a substitute for (and equivalent to) upper case letters.
- z/OS Debugger does not support the use of COBOL special registers (for example, DAY, DATE, and TIME) in LangX COBOL expressions.
- All non-numeric literals must be enclosed in quotation marks ("). Apostrophes (') cannot be used.
- You cannot list or alter level-88 variables in LangX COBOL.
- Only the following subset of figurative constants are supported
in z/OS Debugger LangX
COBOL expressions:
- HIGH-VALUE, HIGH-VALUES
- LOW-VALUE, LOW-VALUES
- QUOTE, QUOTES
- SPACE, SPACES
- ZERO, ZEROES, ZEROS