This example adds a MASKDATA field to the MASK record CRYPT1 that contains a salary field in character format called ADDR, masked field with an asterisk (*), having an offset value of 50 and a length of 20 characters:
TSS ADDTO(SDT) MASKREC(CRYPT1)
MASKDATA(ADDR,CHAR,50,20,********************)
This example replaces an existing MASK record with one new field:
TSS REPLACE(SDT) MASKREC(CRYPT1)
MASKDATA(ADDR,CHAR,50,10,**********)
Even though only one field's worth of data is entered with the REPLACE syntax, all previously entered fields are replaced by the single field entered in the REPLACE command. If the MASK record consists of seven fields, all seven original fields are lost and one new field replaces them. There is no command to replace a single field.
|
Copyright © 2009 CA.
All rights reserved.
|
|