Syntax for LangX COBOL expressions
You can use the syntax defined in this section to write expressions for z/OS® Debugger commands while you debug LangX COBOL programs.
In general, whenever you enter a LangX COBOL expression as part of a command (for example, as the
operand of the LIST expression
command, an assignment
command, or the IF
command), you must enclose the LangX COBOL expression in
apostrophes ('). The following example shows the appropriate use of apostrophes:
LIST 'A-B IN C';
'A' = 'B';
IF 'A = 22' THEN...
There are some z/OS Debugger commands that can be used for debugging LangX COBOL programs that use the assembler syntax. A note to this effect is found in the section describing each of these commands. For example, while debugging a LangX COBOL program you might use the following command:
STORAGE(X"1B4C0",3) = X"0102FC";