EGL Reference Guide for iSeries

In a program or library part

Each use declaration in a program or library must be external to any function. The syntax for the declaration is as follows:



Syntax diagram for a use declaration in a program or library part

dataTablePartName
Name of a dataTable part that is visible to the program or library.

A reference in a use declaration is unnecessary for a dataTable part that is referenced in the program property msgTablePrefix.

You cannot override properties of a dataTable part in the use declaration.

For an overview of dataTable parts, see DataTable part.

libraryPartName
Name of a library part that is visible to the program or library.

You cannot override properties of the library part in the use declaration.

For an overview of library parts, see Library part.

formGroupPartName
Name of a formGroup part that is visible to the program or library. For an overview of form groups, seeFormGroup part.

A program that uses any of the forms in a given formGroup part must have a use declaration for that formGroup part.

No overrides occur for form-level properties. If a property like validationBypassKeys is specified in a form, for example, the value in the form is in effect at run time. If a form-level property is not specified in the form, however, the situation is as follows:

The properties that follow let you change behaviors when a form group is accessed by a specific program.

helpGroup = yes, helpGroup = no
Specifies whether to use the formGroup part as a help group. The default is no.
validationBypassKeys = bypassKeyValue
Identifies a user keystroke that causes the EGL run time to skip input-field validations. This property is useful for reserving a keystroke that ends the program quickly. Each bypassKeyValue option is as follows:
pfn
The name of an F or PF key, including a number between 1 and 24, inclusive.
Note:
Function keys on a PC keyboard are often f keys such as f1, but EGL uses the IBM pf terminology so that (for example) f1 is called pf1.
helpKey = helpKeyValue
Identifies a user keystroke that causes the EGL run time to present a help form to the user. The helpKeyValue option is as follows:
pfn
The name of an F or PF key, including a number between 1 and 24, inclusive.
Note:
Function keys on a PC keyboard are often f keys such as f1, but EGL uses the IBM pf terminology so that (for example) f1 is called pf1.
pfKeyEquate = yes, pfKeyEquate = no
Specifies whether the keystoke that is registered when the user presses a high-numbered function key (PF13 through PF24) is the same as the keystroke that is registered when the user presses a function key that is lower by 12. For details, see pfKeyEquate.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]