TSS WHOHAS DSN(+++TST)
besides getting results that are an exact match to the inquiry, the following permits that have additional generic (masking) characters show in the output listing:
DATASET(++++++++.) ACCESS(ALL) ACTION(AUDIT)
DATASET(++++++.) ACCESS(ALL) ACTION(AUDIT)
|The DATASET(++++++++.) and DATASET(++++++.) are showing up because they allow access to DSN(+++TST) and they have the same owning ACID as +++TST. The '+' represents any single character, so the '+' in positions 4, 5, and 6 include 'TST'.
The WHOHAS command does the equivalent of a WHOOWNS command, and then, for each ownership found, does the equivalent of the original WHOHAS command. When a TSS WHOHAS command is issued, TSS does not search every owned mask, however, in this case, since the mask ownership is the same (owned as dataset '++') for the dataset requested (+++TST) and the masked qualifiers ('++++++++.' and '++++++.', those other masked entries will show up in the output.