Hi Vikram, you would use multiple layout files to describe the format of the different line width records, using the RECTYPE attribute to identify/filter them during processing.
Example File Contents:
010SomeText500
020SomeText500AdditionalText
030SomeText500AdditionalText9999
Create 3 layout .txt files to distinguish between the record types in the file
DELIM=FIXED,RECTYPE=TRANSACTION_CODE:"010"
TRANSACTION_CODE=3
TEXT1=8
NUM1=3
DELIM=FIXED,RECTYPE=TRANSACTION_CODE:"020"
TRANSACTION_CODE=3
TEXT1=8
NUM1=3
TEXT2=14
DELIM=FIXED,RECTYPE=TRANSACTION_CODE:"030"
TRANSACTION_CODE=3
TEXT1=8
NUM1=3
TEXT2=14
NUM2=4
Save the 3 uniquely named layout.txt files into the same directory
When you launch FDM to describe the data, use the "Defn File Directory" selection to choose the directory with the layout files
Original Message:
Sent: 08-27-2019 11:26 AM
From: Vikram Allala
Subject: Fast Data Masker : How to mask a file with different line widths within a single file
Fast Data Masker : How to mask a file with different line widths within a single file? I am using Fast Data Masker Tool .
------------------------------
VRA
------------------------------