z/OS Security Server RACF Macros and Interfaces
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Steps for converting RACF field names to XML tag names

z/OS Security Server RACF Macros and Interfaces
SA23-2288-00

About this task

Before you begin: You need to know the name of the RACF® field name that you want to convert.

Perform the following steps to convert a RACF field name from the tabular format produced by the RACF SMF data unload utility to an XML tag name.

Procedure

  1. Remove the column name and the first "_" character from the field name.

    ______________________________________________________________

  2. Capitalize the first character after each remaining "_" character in the field name. Change all other characters to lowercase.

    ______________________________________________________________

  3. Remove all remaining "_" characters.

    ______________________________________________________________

Results

When you are done, you have the name of the XML tag that corresponds with the field name that you started with.

Exceptions to this procedure are:
Field name XML tag name
RINI_TERM riniTerm
SECL_LINK link
CAUD_REQUEST_WRITE caudRequestWrite
CAUD_REQUEST_READ caudRequestRead
CAUD_REQUEST_EXEC caudRequestExec
SSCL_OLDSECL oldSecl
<col>_logstring logstr
KTKT_PRINCIPAL kerbPrincipal
PDAC_PRINCIPAL pdasPrincipal
any field with RESERVED in the name These fields have no XML tag.
ACC_NAME profileName
APPC_NAME profileName
Example: Converting the field name INIT_USER_NAME to an XML tag name:
  1. Start with INIT_USER_NAME
    INIT_USER_NAME
  2. Remove the column name (INIT) and the first "_" character from the field name.
    USER_NAME
  3. Capitalize the first character after each remaining "_" character in the field name. Change all other characters to lowercase.
    user_Name
  4. Remove all remaining "_" characters.
    userName

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014