Previous Topic: MAPTYPE Statement SyntaxNext Topic: MAPTYPE Statement Usage


MAPTYPE Statement Parameters

MAPtype maptype-name

Identifies the name of the alternative map table.

Maptype-name must be a one- through eight-character alphanumeric value.

MAP map-name-1 maps TO map-name-2

Adds an entry to the alternative map table. The map identified by map-name-1 is replaced by the map identified by map-name-2, when appropriate, at application runtime. At least one entry must be specified for ADD MAPTYPE statements.

Map-name-1 is the one- through eight-character name of a map load module invoked by an application program. Map-name-2 is the one- through eight-character name of the corresponding map that will override map-name-1 in order to provide compatibility between the application program and the user.

In supplying map names, you can specify a mask for generic translation. The question mark (?) serves as the substitution character. At runtime, each question mark in map-name-1 will match any character in the corresponding position in map-name-2. Conversely, any character in map-name-1 will match a question mark in the corresponding position in map-name-2. If map-name-1 and map-name-2 each contain a question mark in the same position, the character in that position in the map name passed by the application program will remain unchanged when the DC/UCF system relates map-name-1 to map-name-2.

If an entry for map-name-1 already exists in the alternative map table, the system generation compiler replaces the second map in the entry with the new specification for map-name-2. If no entry is found, a new entry is added.

Include as many MAP MAPS TO parameters as necessary to replace map load modules invoked by application programs with maps that are compatible with runtime users.

EXClude MAP map-name-1

Deletes an entry from the alternative map table.

Map-name-1 must be the name of a map previously defined in the alternative map table with a MAP MAPS TO parameter.

To delete multiple alternative map table entries, use an EXCLUDE MAP parameter for each map.

This parameter is valid in MODIFY statements only.