Defining the CL SuperSession resource class KLV to the RDT

Document ID : KB000103709
Last Modified Date : 28/06/2018
Show Technical Document Details
Issue:
How to define the CL SuperSession resource class KLV to the RDT.
Resolution:
Since this is a custom/user resource class, the application using it needs to tell you attributes needed for the resource class. 

The CL Supersession doc gives an example in step 4 on how to define the KLV resource class. It doesnt have too many parameters on it, so I guess the want the defaults. 

I entered the command on my test system and received the following results: 

tss add(rdt) resclass(klv) 
TSS0300I ADD FUNCTION SUCCESSFUL 
READY 
tss list(rdt) resclass(klv) 
ACCESSORID = *RDT* NAME = RESOURCE DEFINITIONS 

RESOURCE CLASS = KLV 
RESOURCE CODE = X'00C' 
ATTRIBUTE = NOMASK,MAXOWN(08),MAXPERMIT(008) 
TSS0300I LIST FUNCTION SUCCESSFUL 
READY 


The defaults as seen above shows that maximum length of resource names is 8. I suspect that the resource names will be longer than 8 characters, so I recommend adding ATTR(LONG) which will allow long resource names upto 44 characters. 

I suspect that you also want to use MASKing with the resource class. 

Deleted the KLV resource class and re-added it with ATTR(LONG,MASK) and here are the results: 

tss add(rdt) resclass(klv) attr(long,mask) 
TSS0300I ADD FUNCTION SUCCESSFUL 
READY 
tss list(rdt) resclass(klv) 
ACCESSORID = *RDT* NAME = RESOURCE DEFINITIONS 

RESOURCE CLASS = KLV 
RESOURCE CODE = X'00C' 
ATTRIBUTE = MASKABLE,MAXOWN(26),MAXPERMIT(044),ACCESS 
ACCESS = ALL(FFFF),NONE(0000) 
DEFACC = ALL 
TSS0300I LIST FUNCTION SUCCESSFUL 
READY 

Notice that MAXPERMIT is now 44 and MAXOWN is now 26. 

Maintaining the RDT is documented at the following link: 

https://docops.ca.com/ca-top-secret-for-z-os/16-0/en/using/maintaining-special-security-records/maintain-the-rdt-record/define-a-resource-to-the-rdt