Table of Contents

Search

  1. Preface
  2. Introduction to Test Data Management
  3. Test Data Manager
  4. Projects
  5. Policies
  6. Data Discovery
  7. Creating a Data Subset
  8. Performing a Data Masking Operation
  9. Data Masking Techniques and Parameters
  10. Plans and Workflows
  11. Monitor
  12. Reports
  13. ilmcmd
  14. Data Type Reference
  15. Data Type Reference for Hadoop

Shuffle Address Example

Shuffle Address Example

You want to mask employee addresses and keep the ZIP code unmasked.
Create a shuffle rule and an advanced masking rule to shuffle addresses and leave the ZIP code unmasked. Shuffle masking masks the data in a column with data from the same column in another row of the table. Shuffle masking switches all the values for a column in a file or database table. You can restrict which values to shuffle based on a lookup condition or a constraint.
Create shuffle masking rules with a dictionary that contains three address columns and a ZIP code column. The ZIP code remains unmasked. The three address columns shuffle, but remain consistent.
The following text shows a sample flat file with the required columns:
SNO,AddressLine1,AddressLine2,AddressLine3,ZIP 1,3290 Apple Lane,Chillicothe,IL,61523 2,7760 Ash Street,Dallas,TX,75240 3,2229 Ash Street,Moscow,TN,38057 4,6698 Caldwell Road,Rochester,NY,14620
Complete the following steps to create rules to shuffle addresses with the ZIP code unmasked in Test Data Manager:
  1. Create a shuffle rule.
  2. Create an advanced masking rule that keeps the ZIP code column unmasked and shuffles the address columns together.