Introduction to FormGroup parts

An EGL FormGroup is a main part; it resides in a source file that has the same name as the part.

The FormGroup part can serve any or all of the following purposes:
You do not declare a FormGroup part as if you were declaring a record or data item. Instead, your program accesses a FormGroup part (and the related forms) under the following conditions:

An EGL program cannot access a standalone form directly. Instead, a FormGroup part must include a use declaration for the form, and the EGL program must access the form through the FormGroup.

A Program part can include no more than two FormGroup parts; and if two are specified, one must be a help group. A help group contains one or more help forms, which are read-only forms that give information in response to a user keystroke.

Forms are available at run time only if you generate the FormGroup part. The generated output for Java™ is a class for the FormGroup part and a class for each Form part. The generated output for a COBOL program is as follows:

At preparation time, each of those entities is processed into a separate runtime load module. The EGL runtime handles the interaction of your generated program and the form-specific code.

You cannot generate a Form part separately from a FormGroup.

Compatibility

Table 1. Compatibility considerations for a FormGroup part
Platform Issue
COBOL generation The maximum length of a generated FormGroup name is 6 characters.

Feedback