WHOHAS question
search cancel

WHOHAS question

book

Article ID: 92757

calendar_today

Updated On:

Products

Top Secret Top Secret - LDAP

Issue/Introduction

Running a WHOHAS query. We want to find out everything that has FMSTST and +++TST (everything that possibly has access to FMSTST)

We are running a WHOHAS query. We want to find out everything that has FMSTST and +++TST (everything that possibly has access to FMSTST). We entered TSS WHOHAS DSN(FMSTST) and TSS WHOHAS DSN(FMSTST) DATA(MASK) and we get the same result - only those that have FMSTST, not +++TST as well. Is there a command that will give us the results we are looking for? 

Environment

z/os

Resolution

There isn’t a single command for this because there are so many different ways access to a dataset could be granted. DATA(MASK) is used to interpret masking characters in the resource name in the TSS WHOHAS command. Normally, masking characters are interpreted only in the PERMITs. In this case you need to issue 2 commnands: TSS WHOHAS DSN(FMSTST) TSS WHOHAS DSN(+++TST)