Previous Topic: OverviewNext Topic: MAP IN


DECLARE MAP

A DECLARE MAP statement must be included in a PL/I program to name each map used by the program.

Syntax

►►─── DECLARE (map-name MAP ─┬──────────────────────────┬─ ) ─────────────────►
                             └─ VERSION version-number ─┘

 ►─┬────────────────────────────────────────────┬─ ; ─────────────────────────►◄
   └─ TYPE ( ─┬─ STANDARD ◄ ─┬─ ) ─┬──────────┬─┘
              └─ EXTENDED ───┘     └─ PAGING ─┘
Map-name MAP

Specifies the name of a predefined map to be used by the program. Map-name must be a 1- to 8-character name of an existing map load module.

VERSION 1/version-n

Optionally identifies the version of the named map. Version-n is a numeric constant of the map version desired. The default is 1.

TYPE STANDARD/EXTENDED

Specifies the attributes of the named map:

STANDARD (default)

Indicates that map attributes are those available on standard 3270-type terminals.

EXTENDED

Indicates that map attributes include those available on 3279-type terminals. Mapping features such as color, blinking fields, and reverse video can be used for applications running under 3279-type terminals.

PAGING

Specifies that the named map is a pageable map.