For MASKABLE resources, the following rules apply -
TSS WHOHAS resource-class-ID-8(resource-prefix)
This command will return all permits where the "resource-prefix" specified in the TSS command is a prefix of the resource ID specified in the permit AND all permits where the resource ID specified in the permit is a prefix of the "resource-prefix" specified in the TSS WHOHAS command.
TSS WHOHAS resource-class-ID-8('resource-prefix')
This command will return all permits where the resource ID specified in the permit is a prefix of the "resource-prefix" specified in the TSS WHOHAS command.
TSS WHOHAS resource-class-ID-8(resource-prefix) DATA(LITERAL)
This command will return all permits where the resource ID specified in the permit is an exact match to the "resource-prefix" specified in the TSS WHOHAS command.
TSS WHOHAS resource-class-ID-8('resource-prefix') DATA(LITERAL)
This command will return all permits where the resource ID specified in the permit is quoted and is an exact match to the "resource-prefix" specified in the TSS WHOHAS command.
For NOMASK resources, the following rule applies -
TSS WHOHAS resource-class-ID-8(resource-prefix)
TSS WHOHAS resource-class-ID-8('resource-prefix')
TSS WHOHAS resource-class-ID-8(resource-prefix') DATA(LITERAL)
TSS WHOHAS resource-class-ID-8('resource-prefix') DATA(LITERAL)
These commands will return all permits where the "resource-prefix" specified in the TSS command is a prefix of the resource ID specified in the permit AND all permits where the resource ID specified in the permit is a prefix of the "resource-prefix" specified in the TSS WHOHAS command.
It appears that the TSS WHOHAS command needs to be updated in support of NOMASK resources, specifically in respect to the code enhancements introduced by PTF RO75118.