ENABLE Reference Manual
 ENABLE ATTRIBUTES
 DATAFILE Attribute
 Consideration
 ENABLE uses the value of the DATAFILE attribute when generating
 the PATHCOM command file. When you set a value for DATAFILE, you
 preclude any file name identified in the record description from
 being used.
 Examples
 Suppose that the following record description identifies more
 than one data base file:
 RECORD manager.
 FILE IS "employ" KEY-SEQUENCED.
 02 empnum PIC 9(4).
 02 empname PIC 9(18).
 02 dept-id PIC 9(4).
 KEY 0 IS empnum.
 KEY "di" IS dept-id.
 END
 With this record description, the default value of the
 DATAFILE attribute is "employ."
 You can use the following commands to associate a box with
 the file "employ":
 SET BOX RECORD manager
 ADD BOX manager
 To describe other files with the same record description, a
 value for the DATAFILE box attribute must be set explicitly.
 The following commands can be used to associate a box with
 the "manager" record description and the file "employ1":
 SET BOX RECORD manager
 SET BOX DATAFILE employ1
 ADD BOX employees
 4-14










