Adding new resource classes to the class descriptor table

The RACF class descriptor table has a system-defined part, and an installation-defined part named ICHRRCDE. You add new resource classes to ICHRRCDE by coding the ICHERCDE macro.

Start of changeSpecify the length of the resource name in the MAXLNTH. Specify a length sufficient to contain: Thus for RDO resources, with resource type names of up to 12 characters, specify MAXLNTH=23.
Remember: For RDO resources, the name of the resource type can be up to 12 characters long, even though the name of the resource itself is shorter. For example, "PARTITIONSET" contains 12 characters, but the names of PARTITIONSET resources are restricted to eight characters in length. Thus for RDO resources, with resource type names of up to 12 characters, specify MAXLNTH=23.
End of change
For example, to add to the CDT a new class $FILEREC, and a corresponding (optional) group class $GILEREC, add the following macros to ICHRRCDE:
$FILEREC ICHERCDE CLASS=$FILEREC,      Entity or Member class          *
               GROUP=$GILEREC,                                         *
               ID=192,                                                 *
               MAXLNTH=17,                                             *
               RACLIST=ALLOWED,                                        *
               FIRST=ALPHANUM,                                         *
               OTHER=ANY,                                              *
               POSIT=42,                                               *
               OPER=NO,                                                *
               DFTUACC=NONE
 
$GILEREC ICHERCDE CLASS=$GILEREC,      Group class                     *
               MEMBER=$FILEREC,                                        *
               ID=191,                                                 *
               MAXLNTH=17,                                             *
               FIRST=ALPHANUM,                                         *
               OTHER=ANY,                                              *
               POSIT=42,                                               *
               OPER=NO,                                                *
               DFTUACC=NONE 
Add the same classes to the RACF router table, ICHRFR01, by coding the ICHRFRTB macro:
         ICHRFRTB CLASS=$FILEREC,ACTION=RACF
         ICHRFRTB CLASS=$GILEREC,ACTION=RACF 
Both the ICHERCDE and ICHRFRTB macros are described in the z/OS Security Server RACF Macros and Interfaces manual.

When you have recreated the two modules ICHRRCDE and ICHRFR01, re-IPL your MVS™ system to bring them into use.