This knowledge document presents an overview on how to implement the security interface between IDMS and RACF.
External Resource Names in IDMS equate to resource profiles in RACF. To implement external security on a resource, and to implement that using RACF, there are three parameters that must be specified in IDMS on the #SECRTT macro for that resource. Those are:
SECBY=EXTERNAL,EXTCLS=<'name'>,EXTNAME=('<res_name>')This is an example of how to code the IDMS #SECRTT macro to secure SIGNON externally using RACF.
#SECRTT TYPE=ENTRY,RESTYPE=SGON,SECBY=EXTERNAL,EXTCLS='SYSTEM',EXTNAME=(RESNAME)PERMIT profile CLASS(class)ID(user) ACCESS(authority)RDEFINE SYSTEM SYST1600 UACC(NONE)PERMIT SYST1600 CLASS(SYSTEM)ID(user01) ACCESS(READ)Note that in the above examples, the value used for the "profile" parameter in the RACF commands is SYST1600. In IDMS the resource name for SIGNON is the system-identifier, which is the value specified in the SYSTEM ID parameter of the system generation on the SYSTEM statement. In this example, that is SYST1600.
To secure other IDMS resources in RACF, the IDMS resource (EXTNAME parameter) must be mapped to the RACF PROFILE. The PROFILEs seen in the RACF syntax can be associated with a RACF CLASS. The RACF CLASS and PROFILE values would by specified on the #SECRTT macro statement via the EXTCLS and EXTNAME respectively. The value coded for EXTCLS should have a corresponding CLASS in RACF. The naming convention of the PROFILEs associated with that CLASS in RACF must match the format of the EXTNAME coded on #SECRTT.
Since the value specified for the #SECRTT EXTNAME field must correspond exactly to the name used in RACF as the PROFILE parameter, care must be used in choosing this value. For more detail about this, see Constructing an External Resource Name and the appropriate IBM RACF manual.