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 )
Release : 16.0
Component : CA Top Secret for z/OS
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: