Previous Topic: MAPREC Keyword—Reference MAP RecordNext Topic: MASKDATA Keyword—SDT Record Mask


Examples: MAPREC keyword

This example creates a MAP record called ENG1 in the SDT:

TSS ADDTO(SDT) MAPREC(ENG1)
               MAPDATA(PAY,5,6,8)

This example grants ALL access to transaction PAYR, provided the selection criteria in SELECT(DEPTREC) yield the value TRUE. The field layout used to interpret this logic is defined in MAPREC(ENG1):

TSS PERMIT(USR01) OTRAN(PAYR)
                  ACCESS(ALL)
                  MAPREC(ENG1)
                  SELECT(DEPTREC)

This example revokes access:

TSS REVOKE(USR01) OTRAN(PAYR)