FACTORY paragraph

The factory IDENTIFICATION DIVISION introduces the factory definition, which is the portion of a class definition that defines the factory object of the class.

A factory object is the single common object that is shared by all object instances of the class. The factory definition contains factory data and factory methods.

The following format is for a factory IDENTIFICATION DIVISION.

Format: factory identification division

Read syntax diagramSkip visual syntax diagramIDENTIFICATIONIDDIVISION.FACTORY.