The USING clause identifies the source of data for display.
- The USING clause is equivalent to the TO and FROM clauses, both specifying the same identifier. It must not be used with either
the TO or FROM clause.
- The identifier in the USING clause can be qualified. If no OCCURS clause applies to the screen item, this identifier can be
subscripted or indexed. It must be defined in the File, Working-Storage, Local-Storage, or Linkage Section of the program.
- Executing a DISPLAY statement on a screen item whose description includes a USING clause moves data from the associated data
item to the screen item, and then displays the screen item on the screen.
- Executing an ACCEPT statement on a screen item whose description includes a USING clause accepts operator-keyed data into
the screen item, and then moves that data to the associated data item.