Record too short to contain field masking rule ignored error when masking mainframe VB file with HASHLOV
search cancel

Record too short to contain field masking rule ignored error when masking mainframe VB file with HASHLOV

book

Article ID: 378481

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

Some records are not masked when masking a mainframe Variable Block file with HASHLOV.
Error:
00170W   Record no # too short to contain field ###, masking rule ignored

Environment

TDM Mainframe masking

Resolution

The field to be masked in the input file should have the size of the field definition. 
However the input file shows (via Hexedit) a truncation in the value (0D 0A) and the value is less than the field definition. 

If the field is padded with spaces to the size of the field definition, then masking of the field occurs without this error.
The file can be a VB file, but the data itself has to have all bytes, padded with spaces.