à ð
Mapping Page Segment Name
Type choices, press the Enter key.
Page
NBR Database field value segment
1 ___________________________________________________________ _______
2 ___________________________________________________________ _______
3 ___________________________________________________________ _______
4 ___________________________________________________________ _______
5 ___________________________________________________________ _______
6 ___________________________________________________________ _______
7 ___________________________________________________________ _______
8 ___________________________________________________________ _______
9 ___________________________________________________________ _______
1ð ___________________________________________________________ _______
11 ___________________________________________________________ _______
12 ___________________________________________________________ _______
13 ___________________________________________________________ _______
14 ___________________________________________________________ _______
15 ___________________________________________________________ _______
More...
F3=Exit F5=Refresh F12=Cancel
á
ñ
The following table explains each field of the Mapping Page Segment Namedisplay:
Field Name Description
NBR Shows the serial number of the mapping. You can specify up to 99
mappings.
Database field
value Specifies the field value in the database record. The comparison
between the data specified on this field and the data in the record is
processed as characters with blank padding to the right of actual data.
If the field is a numeric field, AFP Utilities for AS/400 converts the
numeric value to a character string based on the numeric definition
(total digit, fractional digit, edit code, and so on). Then AFP Utilities for
AS/400 searches the value in the mapping with the converted string.
|You can specify an asterisk (*) as a wild card. AFP Utilities for AS/400
|maps all variable data beginning with the specified characters. The
|format of a wild card is 'ABC*'. When you use this wild card, all
variables beginning with 'ABC' such as 'ABC', 'ABCD', or 'ABC123' can
be mapped to the object specified in the

Page segment

field.
|Note: When the value from the database field matches more than
|one value specified in the

Database field value

on the Mapping Page
|Segment Name screen, the mapping value with the lowest sequence
|number is used. This should be considered when a wildcard is first in
sequence. In the following example, the wildcard is tested first and will
|get a match on 'ABC'. The mapping values for 'ABC' and 'ABA' are
|never tested.
NBR Database field value
1 AB*
2 ABC
3 ABA
Page segment Specifies the page segment name to which the field value should be
mapped.
Chapter 10. Work with PFD Definitions 187