RECORD KEY Clause

The RECORD KEY clause must be specified for an indexed file. The RECORD KEY clause specifies the data item within the record that is the record key for an indexed file.

Read syntax diagramSkip visual syntax diagram
RECORD KEY Clause - Format

                                                       (1)     
>>-RECORD--+-----+--+----+--+-EXTERNALLY-DESCRIBED-KEY-----+---->
           '-KEY-'  '-IS-'  '-data-name-2------------------'   

>--+--------------------------+--------------------------------><
   |                      (1) |   
   '-+------+--DUPLICATES-----'   
     '-WITH-'                     

Notes:
  1. IBM® Extension