The CLASS-ID paragraph specifies the name by which the class is known and assigns selected attributes to that class. The CLASS-ID paragraph is required and must be the first paragraph in a class IDENTIFICATION DIVISION.
The following format is for a class IDENTIFICATION DIVISION.
- A user-defined word that identifies the class. class-name-1 can optionally have an entry in the REPOSITORY paragraph of the configuration section of the class definition.
- A clause that defines class-name-1 to be a subclass (or derived class) of class-name-2 (the parent class). class-name-1 cannot directly or indirectly inherit from class-name-1.
- The name of a class inherited by class-name-1. You must specify class-name-2 in the REPOSITORY paragraph of the configuration section of the class definition.