Top Secret Dataset Encryption ALTADD command receiving TSS0384E
search cancel

Top Secret Dataset Encryption ALTADD command receiving TSS0384E

book

Article ID: 216582

calendar_today

Updated On:

Products

Top Secret

Issue/Introduction


TSS ALTADD(acid) DSN(xxx125.1) DSKEY(xxxx125.TEST.KEY001)  

gives  error:
TSS0384E  RESOURCE NOT FOUND IN SECURITY RECORD   
TSS0301I  TSS      FUNCTION FAILED, RETURN CODE =  8   

Verifying the owner:     
tss whohas dataset(xxx125) 
results in
DATASET    = xxx125.                                       OWNER(xxxx )  

Environment

Release : 16.0

Component : CA Top Secret for z/OS

Resolution

The ALTADD command is designed to be for the exact ownership. Most ownerships are a High Level Qualifier.
This means that the permit to the DSN must match how the resource HLQ is owned:

DSN(operand)
Specifies the data set resource ownership to be modified.

In the above example the ALTADD command needs to match the ownership as shown in the WHOHAS command:
TSS ALTADD(acid) DSN(xxx125.) DSKEY(xxxx125.TEST.KEY001)  
 
The Permit command can be used to permit the acid the desired DSN and DSKEY:
TSS PERMIT(acid) DSN(xx125.1) DSKEY(xxx125.TEST.KEY001)

 

Additional Information