VALUE OF Clause

The VALUE OF clause describes an item in the label records associated with this file. The clause is syntax checked, then treated as documentation.

Read syntax diagramSkip visual syntax diagram
VALUE OF Clause - Format

                 .----------------------------------------.   
            (1)  V                                        |   
>>-VALUE OF--------system-name-1--+----+--+-data-name-1-+-+----><
                                  '-IS-'  '-literal-1---'     

Notes:
  1. Syntax-checked only.
system-name-1
Must follow the rules for formation of a user-defined word.
literal-1
Can be any literal.
IBM Extension

IBM Extension Floating-point literals cannot be used. End of IBM Extension

End of IBM Extension
data-name-1
Should be qualified when necessary, but cannot be subscripted. It must be described in the Working-Storage Section, and cannot be described with the USAGE IS INDEX clause.