This appendix contains these topics:
The following section contains the steps necessary for the Field Level Masking application programs to set a masking on the ABTAX field in file F0101 Address Book in library FLSTEST.
From Master Directory (G), access menu G941 Field Masking Security
On Field Level Masking (G941), choose Field Security Masking (P94101).
Ensure that the field ABTAX in the F0101 Address Book file is included in the F94101 Field Masking Inclusions file.
To confirm ABTAX field is included in the F94101 Field Masking Inclusions file, inquire on File Name F0101.
Note that ABTAX is an included field in file F0101 and can be used to mask within Field Level Masking.
On Field Level Masking (G941), choose Data Item Masking Definitions (P94102).
Add a Masking Code for Data Item TAX. The Masking Value of ’*' will replace the first 5 positions of the TAX field.
Press Enter to add the Masking Definition.
Press F9 to Redisplay the Masking Definition added.
Note that the fields Field Size/Disp Dec displays 20 and Data Type Description displays Alphanumeric for the TAX Data Item from the Data Dictionary. The Non-mask Display and Mask Display fields demonstrate how the value is presented when unmasked or masked.
After setting up the Masking Definition for the TAX Data Item, you must create the Database Field Level Security record.
First, establish the IBM Authorization List, which is going to be used on the field to be masked.
From the command line, type the following command:
Press F4 to access the Create Authorization List screen. In this example, we will use the IBM Authorization List TAXAUTH.
Press Enter to create the IBM Authorization List.
Type the command EDTAUTL TAXAUTH to edit the Authorization List.
In this example, the Authorization List Owner, JDEPGMR has *ALL Object Authority. All other users, through *PUBLIC, have *CHANGE rights.
To set up field masking for users not in group profile JDEPGMR, change *PUBLIC rights to *EXCLUDE and then press Enter.
On Field Level Security (G941), choose Database Field Level Security (P94104).
To add a Database Field Level Masking (F94104) record the Field Masking Inclusions and the Data Item Masking Definitions records must exist first. Using the records we created in previous steps, complete the fields as follows:
File Name F0101
Data File Library FLSTEST
Field Name ABTAX
Authorization List TAXAUTH
Data Item TAX
Masking Code 11.
Press Enter to add the record and then press F9 to Redisplay the record.
Notice that the Masking Status displays as Inactive since the Field Level Masking has not been Set for the ABTAX field in the file and library combination.
On Field Level Masking (G941), choose Field Level Masking Workbench (P98XWB).
Enter Library Name FLSTEST in the filter field and then press Enter.
The F94104 record for the ABTAX field in file F0101 and library FLSTEST displays in the list with a Masking Status of Inactive.
Set masking on this ABTAX field in the file and library, using selection Option 4 (Set) and then press Enter.
The following graphic displays the result of setting the Field Level Masking, status is Active.
From the command line on Field Level Masking (G941), type DSPFFD (Display File Field Description) and press F4.
Type the File (F0101) and Library (FLSTEST) where the Field Level Masking was set.
Press Enter to access the Display Spooled File screen.
In the Find field type ABTAX and press F16.
Note the Field Procedure Name X940000000. This is the indication that the "set" process was successful and the masking is now active for this field.
Another way to prove that Field Level Masking is ’Set' on a field is to run an SQL statement.
From the command line, type STRSQL and then press Enter.
From the SQL command line, type the following SQL statement:
select sys_cname, sys_tname, sys_dname, fldproc from qsys2/sysfields
When you run the SQL statement as specified on Step 6, the system displays all the combinations of Fields/Files/Libraries in the entire system that have Field Level Masking applied.
From Address Book (G01) menu, access Address Book Revisions (V01051). Inquire on Address Number 27 and press F13 (Address Book Control Revisions). Address Number 27 is a record that has a Tax Id.
Review the following graphic of the Address Book Control Revisions (V010513) screen for Address Number 27.
Note that the Tax Id is not masked for the user with access through group JDEPGMR.
The following graphic displays the Address Book Control Revisions (V010513) screen with the Tax ID masked for the user without access through the group JDEPGMR.
The following graphic displays a World Writer report with Address Number 27 and the Tax Id not masked for the user with access through the group JDEPGMR.
The following graphic displays a World Writer report with Address Number 27 and the Tax Id masked for the user without access through the group JDEPGMR.