Validate transaction data against configurable rules to catch missing or invalid fields before they cause processing errors.
TLOGic's TLOG Validation tool checks individual transaction records against a set of configurable rules. It is designed to catch data quality issues like missing fields, empty values, and invalid data that can cause downstream processing errors such as NullPointerExceptions (NPEs) and incorrect POSLOG output.
The default rules were generated from the ACE Albertsons transaction mapping configuration, covering 30+ string types and 150+ field checks. This provides comprehensive out-of-the-box validation for most IBM TLOG implementations.
In addition to rule-based validation, TLOGic also includes a Scan Structure action for file-wide structural review. Use it when you want to inspect transaction boundaries, malformed data windows, duplicate transactions, or incorrect NumStrings values across the entire loaded file.
TLOG Validation is available to Trial (full access during 14-day trial) and Professional license holders. It is not available with the Standard license.
At the bottom of the validation offcanvas, click Validate All Transactions to scan every transaction in the file.
Click Scan Structure in the Transaction List header to scan the entire loaded TLOG for structural anomalies. This is different from the normal Validate button: the validation workflow checks string and field rules, while Scan Structure focuses on whether the file layout itself looks correct.
NumStrings mismatches — header string 00 says a transaction should contain more or fewer strings than were actually parsed00 transactions — exact raw duplicates of normal transactions; 0x20 family duplicates are intentionally not flagged00, 20*, and 21. Any other top-level transaction key is shown as Unknown in the scan results and transaction list.
Validation rules use a simple domain-specific language (DSL). Each rule is a single line with the following syntax:
[SEVERITY] STRING_KEY:FIELD_INDEX CONDITION [ARGS...]
| Component | Description |
|---|---|
| SEVERITY | error or warn. Defaults to error if omitted. |
| STRING_KEY | The TLOG string key (e.g., 00, 11:BD, 99:10:F5) |
| FIELD_INDEX | 1-based field number (matching IBM documentation) |
| CONDITION | The validation condition to apply (see Available Conditions below) |
| ARGS | Optional arguments required by some conditions |
Lines starting with # are comments and are ignored during validation.
| Condition | Args | Description |
|---|---|---|
not_empty |
— | Field must exist and have non-empty data |
not_null |
— | Field index must exist in the string |
numeric |
— | Field display value must be a valid number |
min_length |
N | Field hex must be at least N hex characters |
valid_date |
FORMAT | Field must match date format (e.g., YYMMDDhhmm) |
matches |
REGEX | Field display must match the regex pattern |
in |
V1,V2,... | Field display must be one of the listed values |
range |
MIN MAX | Numeric value must be within [MIN, MAX] |
min_fields |
N | String must have at least N fields |
equals |
VALUE | Field display must exactly equal VALUE |
# Transaction header: Terminal must exist error 00:1 not_empty # Terminal # Item: ExtendedPrice must be numeric warn 01:2 numeric # ExtendedPrice # Coupon association: ItemCodeForCoupon must not be empty error 11:BD:6 not_empty # CouponCode # Comment out rules with # #warn 00:10 not_empty # RingTime (disabled)
Click Edit Validation Rules at the bottom of the offcanvas to expand the rule editor. From here you can modify the ruleset to match your specific TLOG format and processing pipeline.
The downstream processing pipeline accesses this field WITHOUT null/empty checks. If the field is missing, it WILL cause an NPE or processing failure. These rules were derived from fields in the mapping XML that have no <filter> protection.
The pipeline has filters to handle empty/null values for this field, but missing data may still indicate a data quality issue worth investigating.
| License | TLOG Validation Access |
|---|---|
| Trial | Full access during 14-day trial period |
| Professional | Full access |
| Standard | Not available |