ODOOSVS

Restriction: This directive is supported in native COBOL only.

Makes the evaluation of OCCURS DEPENDING ON items more compatible with the OS/VS COBOL compiler.

Syntax:
 >>-.---.-.----.--ODOOSVS-------------------><  
    +-/-+ +-NO-+
Parameters:

None

Properties:
Default: NOODOSVS(Dialect )
Phase: Syntax check
$SET: Initial
Dependencies:

ODOOSVS sets the ODOSLIDE Compiler directive at the end.

Comments:

When ODOOSVS is specified, the length of variable-length groups and the address of items following variable-length tables is evaluated at the time when the OCCURS DEPENDING ON item is modified, rather than at the time when the variable-length group or sliding data item is referenced.

See Also:

Related Topics