When adding data items for monitoring to the Watch view, use the identifier name as data name.
One of the following is the identifier name.
Identifier
Condition-name
Index Name
Special Register
Symbolic-constant
Named Literal
Function
It is necessary to enclose the identifier name in parenthesis when it contains spaces. See the example below.
LIST (DATA01 OF DATA02)
Identifier
The identifier can be specified with the same scope of COBOL language specifications in debugging.
In addition, the data described in the factory definition and the object definition can be handled from external, by using the same specification as the original identifier.
Specification Format of Identifier
It is the same as the language specification of COBOL with the exception of the following restrictions for subscript and reference modifier.
Subscript is specified by the following formats.
Subscript | {Integer | Identifier[{+ | -}Integer ]| Index Name[{+ | -}Integer ]| Symbolic-constant[{+ | -}Integer ]| Named Literal[{+ | -}Integer ]} |
Reference modification is specified by the following formats.
Reference Modifier | (High order end character position:[Length]) |
High order end character position/ Length | {Integer | Identifier[{+ | -}Integer ]| Symbolic-constant[{+ | -}Integer]| Named Literal[{+ | -}Integer ]} |
Predefined object identifier can be specified except SUPER.
Identifier is specified by the following formats. Underlined part is the part which is extended originally.
Identifier | [{pointer qualifier | object reference qualifier}] data name [{IN | OF} data name]... [{IN | OF}{file name | report-name }] [({subscript}...)] [reference modifier ] |
Pointer Qualifier | [(] ... {object reference qualifier] {data name[{IN | OF}data name ] ... | (data name [{IN | OF} data name]... ({subscript}...))} | ADDR function} -> [{ data name[{IN| OF}data name ] ... | (data name [{IN| OF} data name] ... ({subscript}...))}) -> ] |
Object Reference Qualifier | [class-name[predefined object identifier SUPER ] :: ] [object reference item [{IN | OF}data name] ... [({subscript}...)] [predefined object identifier SUPER ] :: ] ... |
Predefined Object Identifier SUPER | AS class-name |
Identifier is specified by the internal name under the class condition.
Object reference qualifier is specified under the condition that handling data which is described in factory definition or object definition from external. The class-name of object reference qualifier specifies the internal name.
Under the condition that identifying super-class data, predefined object identifier SUPER specifies the super-class name. Super-class name specifies the internal name or the external name.
Condition-name
Condition-name can be specified with the same scope of COBOL language specifications in debugging.
In addition, the condition-name described in the factory definition and the object definition can be handled from external, by using the same specification as the original condition-name.
Specification Format of condition-name
It is the same as the language specification of COBOL with the exception of the following restrictions for subscript.
Subscript is specified by the following formats.
Subscript | {Integer | Identifier[{+ | -}Integer ]| Index Name[{+ | -}Integer ]| Symbolic-constant[{+ | -}Integer ]| Named Literal[{+ | -}Integer ]} |
Condition-name is specified by the following formats. The underlined part is the part that is extended originally.
Condition-name | [{pointer qualifier | object reference qualifier}] condition-name [{IN | OF} data name]... [ { IN | OF}file name] [({subscript}...) |
Pointer Qualifier | [ ( ] ... {object reference qualifier] { data name [ { IN | OF} data name] ... | (data name [{IN | OF} data name] ... ({subscript}...))} | ADDR function} -> [{ data name [ { IN| OF} data name] ... | (data name [{IN| OF} data name] ... ({subscript}...))} ) ->] |
Object Reference Qualifier | [class-name [predefined object identifier SUPER ] :: ] [ object reference item [ { IN | OF} data name] ... [({subscript }...) ] [predefined object identifier SUPER] :: ] ... |
Predefined Object Identifier SUPER | AS class-name |
Object reference qualifier is specified under the condition that handling condition-name which is described in factory definition or object definition from external. The class-name of the object reference qualifier specifies the internal name.
Under the condition that identifying super-class data, predefined object identifier SUPER specifies the super-class name. Super-class name specifies the internal name or the external name.
Index-name
Index-name can be specified with the same scope of COBOL language specifications in debugging.
In addition, the index-name described in the factory definition and the object definition can be handled from external, by using the same specification as the original index-name.
Specification Format of Index-name
It is the same as the language specification of COBOL. The underlined part is the part that is extended originally.
Index-name | [object reference qualifier] index-name [{IN | OF} data name]... [{IN | OF} file name ] |
Object Reference Qualifier | [class-name[predefined object identifier SUPER ] :: ] [object reference item [{IN | OF}data name] ... [({subscript}...)] [predefined object identifier SUPER ] :: ] ... |
Predefined Object Identifier SUPER | AS class-name |
Object reference qualifier is specified under the condition that handling index-name which is described in factory definition or object definition from external. The class-name of the object reference qualifier specifies the internal name.
Under the condition that identifying super-class data, predefined object identifier SUPER specifies the super-class name. Super-class name specifies the internal name or the external name.
Special Register
Special register can be specified with the same scope of COBOL language specifications in debugging.
Symbolic-constant
Symbolic-constant can be specified with the same scope of COBOL language specifications in debugging.
Named Literal
Named literal can be specified with the same scope of COBOL language specifications in debugging.
Function
The following functions can be specified in debugging.
Function | {ADDR Function | LENG Function | LENGTH Function} |
ADDR Function | FUNCTION ADDR( argument ) |
LENG Function | FUNCTION LENG( argument ) |
LENGTH Function | FUNCTION LENGTH( argument ) |
The argument of the ADDR function must be an identifier beyond Internal Boolean data item and object reference item.
The argument for the LENG function and LENGTH function must be either data item, nonnumeric literal, hexadecimal nonnumeric literal or national nonnumeric literal.