Previous Topic: MASKREC Keyword—Overlay FCT ValuesNext Topic: MAXLEN Keyword—Define FDT Maximum Length


Examples: MASKREC keyword

This example gives ALL access on the FCT(PAY) provided that the SELECT logic defined for ISDEPT interpreting field names with RECORD(PAY) is TRUE. The fields defined for MASKREC(CRYPT1) are overlaid with the mask‑characters specified to prevent users from seeing these fields.

TSS ADDTO(SDT) MASKREC(CRYPT1)
               MASKDATA(PAY,PACKED,110,6,000000)
TSS PERMIT(USR01) FCT(PAY)
                  ACCESS(ALL)
                  MASKREC(CRYPT1)
                  SELECT(ISDEPT)

This example revokes access:

TSS REVOKE(USR01) FCT(PAY)