Data Transformation Engine Map Designer Reference Guide
Chapter 17 - Debugging a Map Existence of Data
Map Designer Reference Guide
263
Record is partitioned into A, B, and C, the three types of records. Each record
begins with a letter followed by an asterisk. The letter indicates the kind of record.
This value is defined as the initiator for each record type. For example, an A
Record begins with A*.
Shown below is the data:
A*couch,1
B*plate,12
A*chair,6
C*sweater,15
B*glass,8
Because the initiator partitions Record, as soon as the initiator of a given record
is found, that record is known to exist. For example, these are the trace messages
that represent the validation of the first B Record:
(Level 1: Offset 13, len 0, comp 1 of 1, #2, DI 00000001:)
Type X'0007' (B Record Data) is known to exist.
(Level 2: Offset 13, len 5, comp 1 of 2, #1, DI 00000001:)
Data at offset 13 ('plate') was found to be of TYPE
X'0004' (Item Data).
(Level 2: Offset 19, len 2, comp 2 of 2, #1, DI 00000001:)
Data at offset 19 ('12') was found to be of TYPE
X'0005' (Quantity Data).
(Level 1: Offset 13, len 8, comp 1 of 1, #2, DI 00000001:)
Data at offset 13 ('plate,12') was found to be of TYPE
X'0007' (B Record Data).
Validation for Invalid Objects
If an object is determined to be invalid, and that object is known to exist,
validation continues. For example, there was an error in the first B Record. As
shown in the following data, the Quantity field is invalid because it is defined in
the Type Designer as an integer, but it is a decimal number.
A*couch,1
B*plate,1.2
A*chair,6
C*sweater,15
B*glass,8
The
Quantity
field
is invalid
B
R
ecord
Valid
ation