So, this script was only checking generic output from LD and not discrete. So what would happen is say we have a rule like SYS2.FAKELIB ACCESS(ALTER) and another rule SYS2.** ACCESS(NONE) the old script would return NONE as the access right. This update adds that fix.
I've also added a verbose so now it only shows datasets your have alter access to unless you pass the verbose flag.
So, this script was only checking generic output from LD and not discrete. So what would happen is say we have a rule like
SYS2.FAKELIB ACCESS(ALTER)
and another ruleSYS2.** ACCESS(NONE)
the old script would returnNONE
as the access right. This update adds that fix.I've also added a
verbose
so now it only shows datasets your have alter access to unless you pass theverbose
flag.