Example of defining a mask

This example shows how to define and use a mask to generate the following identification code:

DAF NL*D*Manu*RD*00437

The code consists of the following segments:

SegmentDescription
DAF NLFixed alphanumeric string
DCode that represents the year 1993
ManuFeature code that represents a manually operated gearbox (as opposed to a variomatic gearbox)
RDColor code that stands for red
00437Item sequence number

 

To define a mask to generate this type of identification code, complete the following steps:

Step 1. Define a mask code

In the Masks (tcibd4102m000) session, define a mask code and description. Enter an asterisk (*) as separator.

Step 2. Define the mask segments

In the Mask Segments (tcibd4503m000) session, select the defined mask and add the following segments:

Segment NumberSegment TypeSegment Value
10AlphanumericDAF NL
20Translation TableYear
30 OptionGearbox type
40Translation TableColor
50Sequence1

 

Note that if you select the Translation Table segment type, you must define a translation table. Define translation tables as described in step 3 and step 4 before you continue in the Mask Segments (tcibd4503m000) session.

Step 3. Define the translation tables

Define the following translation tables in the Translation Tables (tcibd4504m000) session:

Translation TableSegment TypeValue Type
YEARDateYear (4-digit)
COLOROptionColor

 

Step 4. Define the converted values

In the Translation Tables (tcibd4504m000) session, from the appropriate menu, start the Values by Translation Table (tcibd4106m000) session to define the converted values of each translation table.

The first table you must define is the YEAR translation table:

YEAR translation table
Value TypeSegment ValueTranslated Value
Year (4-digit)1990A
-1991B
-1992C
-1993D

 

The second table is the COLOR translation table:

COLOR translation table
Value TypeSegment ValueTranslated Value
ColorBlackBK
-BlueBU
-RedRD
-GreenGN
-YellowYW