TSS WHOHAS displays other non-related resources

Document ID : KB000047704
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

A 'TSS WHOHAS DSN(SYS1.NUCLEUS)' shows other datasets that are not related. Why?

Example"

TSS WHOHAS DSN(SYS1.NUCLEUS)
DATASET = SYS OWNER(TSEHS$D )
XAUTH = SYS+.*USR.ST+. ACID(PRODDEPT)
ACCESS = UPDATE
XAUTH = SYS+.*USR.ST+. ACID(TESTDEPT)
ACCESS = UPDATE
XAUTH = SYS+.*USR.ST+.DBD.ASM ACID(TESTDEPT)
ACCESS = READ
XAUTH = SYS+.*USR.ST+.PSB.ASM ACID(TESTDEPT)
ACCESS = READ
XAUTH = SYS+.*USR.ST* ACID(TESTDEPT)
ACCESS = UPDATE
ADMIN BY= BY(SCAADMIN ) SMFID(SYSA) ON(08/21/2008) AT(15:05:39)
XAUTH = SYS+.*USR.ST+ ACID(PRODDEPT)
ACCESS = UPDATE
ADMIN BY= BY(SCAADMIN ) SMFID(SYSA) ON(08/21/2008) AT(15:15:17)
XAUTH = SYS+.*USR.ST+ ACID(TESTDEPT)
ACCESS = UPDATE
ADMIN BY= BY(SCAADMIN ) SMFID(SYSA) ON(08/21/2008) AT(15:15:46)

Answer:

The following documents the 'TSS WHOHAS' command:
https://docops.ca.com/ca-top-secret-for-z-os/16-0/en/using/issuing-commands-to-communicate-administrative-requirements/command-functions/whohas-functiondisplay-acid-s-resource-access

It has the following paragraph:


"If you issue the WHOHAS command for DSNAME(SYS), it will return the OWNER for SYS1, then all of the authorizations under the owner. Next, you will get the owner for SYS2 and all of those authorizations until the list is complete." 

To list just that dataset use DATA(LITERAL). Example:


'TSS WHOHAS DSN(SYS1.NUCLEUS) DATA(LITERAL)' command.


'LITERAL' is documented at:
https://docops.ca.com/ca-top-secret-for-z-os/16-0/en/using/issuing-commands-to-communicate-administrative-requirements/keywords/data-keyword-with-whohasinterpret-resource-name