Cleanup for ACF2 provides the OPTION(COMMENTACCESSNONE).
This option causes all ACCESS NONE permissions to appear as commented commands.
However, this does not work for CA ACF2/DB2
With OPTION(COMMENTACCESSNONE) the rule entries with ACCESS NONE permission(PREVENT) should appear as commented commands and should not be deleted.
For example:
For this ACCESSNONE definition the utility generates the following:
AT5NRUL KEY(ABCDXY.Z*******************) TYPE(TBL) -
CLASS(D) SYSID(D*T2) -
DEL( -
UID(************USER1) SERVICE(ALTER,DELETE,INDEX,INSERT,,REFER,) PREVENT-
) NOLIST NOVERIFY
But these lines should appear after a comment section that is missing.
For example:
/* PREVENT rule line follows: -
AT5NRUL KEY(ABCDXY.Z*******************) TYPE(TBL) -
CLASS(D) SYSID(D*T2) -
DEL( -
UID(************USER1) SERVICE(ALTER,DELETE,INDEX,INSERT,,REFER,) PREVENT-
) NOLIST NOVERIFY
Release : 12.1
Component : Cleanup for ACF2
The Report options (Like COMMENTACCESSNONE) must be in the SYSIN file and not in the //INCLUDE DD *
For example:
//SYSIN DD *
OPTION(COMMENTACCESSNONE)
/*
Move OPTION(COMMENTACCESSNONE) from //INCLUDE DD * to the //SYSIN DD.
From:
//INCLUDE DD *
OPTION(COMMENTACCESSNONE)
---
---
To:
//SYSIN DD *
OPTION(COMMENTACCESSNONE)
/*
There is more information about the report options at the following link: