Previous Topic: PANEL Statement SyntaxNext Topic: PFLD Statement Syntax


Examples

The following are the examples of the PANEL statement:

Example 1

Adding a Panel Occurrence

The sample PANEL statement adds the MEALS-PANEL panel occurrence to the data dictionary as shown:

ADD PANEL MEALS-PANEL VERSION IS 2 DEVICES=(24X80).

The sample MEALS-PANEL panel defined by this sample PANEL statement is defined for 24X80 screens.

Example 2

Modifying a Panel Occurrence

The sample PANEL statement modifies the MEALS-PANEL panel in the data dictionary as shown:

MOD PANEL MEALS-PANEL VERSION IS 2 DEVICES=(24X80,43X80).

Existing panel fields (if any) defined for the MEALS-PANEL panel are retained by the panel.

Example 3

Deleting a Panel Occurrence

The sample PANEL statement deletes the MEALS-PANEL panel and all associated panel fields (if any) from the data dictionary as shown:

DEL PANEL MEALS-PANEL VERSION IS 2.