Creating a Class

You can create new classes to be used for masking purposes, or you can use a predefined class. In this exercise you will create a masking class named CODCUS, which will enable us to mask the data element COD_CUS in the CUSTOMER table.

  1. In Data Builder, open the Work with Classes window (access it through Environment > Work with Classes)
  2. Click New.
  3. In the Name field, specify CODCUS as the name of the class you want to create.
  4. In the Full description field, specify COD_CUS MASK EXAMPLE as the description of the class. The description will be visible as a label when you assign the class to data elements within data stores.
  5. Specify UDCPIVC in the Data Masking Routine box.
    Note: This masking routine is provided during product installation. This is just an example routine for the purpose of creating a class. The masking logic for the routine is not in consideration for this demonstration.
    Note: You can mask at the class level or at the data-element level. In this tutorial, we will be masking at the class level.
  6. Select the Super Class Generated.
  7. Select the data type Alpha.
  8. Leave the remainder of the fields at their default values. Click Apply.
    Note: The class CODCUS is now listed in the List of Classes and is given the first free class ID.
  9. Click OK.
  10. Continue to the next section.