Previous Topic: Designing Panels

Next Topic: Data in Panels


Panel Control Statements

Optional control statements can precede a panel to specify the particular requirements for that panel. These are as follows:

#ALIAS

Defines an alternative name for an input variable.

#OPT

Defines optional operational requirements.

#FLD

Defines or modifies a field character’s attributes.

#ERR

Defines the action to be taken for an error condition.

#NOTE

Provides installation documentation (this is ignored during processing).

#TRAILER

Provides a means of placing specified panel lines at the end of the panel (regardless of screen size).

Control statements included within panel definitions must precede the displayable portion of the panel (as determined from the first non-control statement encountered). Control statements must start in column 1 of the lines on which they appear.

Before a panel is displayed, its associated control statements are parsed and any variable substitution performed. This lets you tailor control statements dynamically.