Previous Topic: PFLD Statement SyntaxNext Topic: MAP Statement Syntax


Examples

The following examples illustrate use of the PFLD statement.

Example 1

Adding a Panel Field Occurrence to a Panel Occurrence

The sample PANEL and PFLD statements add the literal FIRST-CLASS panel field to the MEALS-PANEL panel as shown:

ADD PANEL MEALS-PANEL VERSION IS 2 DEVICES=(24X80). ADD PFLD FIRST-CLASS AT (7,7) ATTRIBUTES (PROTECTED BRIGHT) VALUE IS 'FIRST CLASS'.

Example 2

Modifying a Panel Occurrence

The sample PANEL and PFLD statements add the MEALS-HEAD2 panel field to the MEALS-PANEL panel as shown:

MOD PANEL MEALS-PANEL VERSION IS 2. ADD PFLD MEALS-HEAD2 AT (3,25) ATTRIBUTES (PROTECTED BRIGHT) VALUE IS 'MEALS SELECTION SCREEN'.

Panel fields (if any) that are already defined for MEALS-PANEL are retained by the panel occurrence.