Define ID

PURPOSE:  The DEFINE ID command creates an entry for an Index Definition (ID) in the Data Base Library (DBL) and transfers control to the edit level, where the index definition statements can be entered.

An Index Definition (ID) defines a general index definition for a Schema Definition (SD), which can then be used to create Data Indexes (DI) for any Data Set (DS) that is associated to the SD.

SYNTAX

DEFINE ID name [IN DBL dbl_name]

name

is the name assigned to the ID being created.

[IN DBL dbl_name]

is used to define the ID in a DBL other than the current one.  If an IN DBL clause is included, the ID will be cataloged in the DBL named in that clause.  Otherwise, it will be cataloged in the current DBL.

EXAMPLE

*DEFINE ID PUBLISHERS_DBM2
--00100  INDEX TYPE IS RAM
--00110  INDEX TO SD PUBLISHER_DBM2
--00120  !
--00130  DOMAIN PUB ON PUB_CODE
--00140  DUPLICATES NOT ALLOWED
--00150  !
--00160  DOMAIN CITY ON CITY
--00170  DOMAIN STATE ON STATE
--00180  END
-—SAVE