The following command to specify LIBRARY and PRIVPGM failing:
TSS PERMIT(acid) DATASET(xxxx) PRIVPGM(program) LIBRARY(Library)
TSS0427E INVALID KEYWORD FOR THIS RESOURCE: LIBRARY
DSNAME (or DSN) is required with use of LIBRARY. This is a peculiarity of
the product, that has been in place for many years. Some commands accept
the keyword DATASET, while others only accept the keyword DSNAME or DSN.
Internally, Top Secret checks for the resource DATASET, when a SAF call
is issued for a dataset. However, the syntax parser does have a rule to
check for DSN in most commands, according to the documentation.