| # 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:
Segment | Description
DAF NL | Fixed alphanumeric string
D | Code that represents the year 1993
Manu | Feature code that represents a manually operated gearbox (as opposed to a variomatic gearbox)
RD | Color code that stands for red
00437 | Item 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 Segment (tcibd4503m000) session, select the defined mask and add the following segments:
Segment Number | Segment Type | Segment Value
--- | --- | ---
10 | Alphanumeric | DAF NL
20 | Translation Table | Year
30 | Option | Gearbox type
40 | Translation Table | Color
50 | Sequence | 1
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 (tcibd4103s000) session. Step 3. Define the translation tables Define the following translation tables in the Translation Tables (tcibd4504m000) session:
Translation Table | Segment Type | Value Type
--- | --- | ---
YEAR | Date | Year (4-digit)
COLOR | Option | Color
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 Type | Segment Value | Translated Value
--- | --- | ---
Year (4-digit) | 1990 | A
- | 1991 | B
- | 1992 | C
- | 1993 | D
The second table is the COLOR translation table:
COLOR translation table
Value Type | Segment Value | Translated Value
--- | --- | ---
Color | Black | BK
- | Blue | BU
- | Red | RD
- | Green | GN
- | Yellow | YW