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. Data Generation
  11. Data Generation Techniques and Parameters
  12. Working with Test Data Warehouse
  13. Analyzing Test Data with Data Coverage
  14. Plans and Workflows
  15. Monitor
  16. Reports
  17. ilmcmd
  18. tdwcmd
  19. tdwquery
  20. Data Type Reference
  21. Data Type Reference for Test Data Warehouse
  22. Data Type Reference for Hadoop
  23. Glossary

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.

0 COMMENTS

We’d like to hear from you!