To list all the resource rules in your INFOSTORAGE database, issue the following ACF2 command:
ACF
SET RESOURCE(***)
DECOMP LIKE(-)
Notes:
- This DECOMP command will list each resource rule on the system so there could be a lot of data. This command should be issued using the ACFBATCH utility.
- Consider changing the mask on the SET command so that DECOMPs are for all the resource rules for a group. For example all the resource rules with a type code that starts with 'C'. The mask in the DECOMP LIKE option can also be changed so that only rules that begin with say 'PRD' are decompiled. This could be done as follows:
ACF
SET RESOURCE(C**)
DECOMP LIKE(PRD-)
- Specify 'SET TERSE' before issuing the DECOMP command, to get a list of all resource keys. This is useful to see if a particular resource has a rule record. This is done as follows:
ACF
SET TERSE
SET RESOURCE(***)
DECOMP LIKE(-)
- If the above command is specified in TSO, there may not be the opportunity to review each rule since it is not possible to go backward using TSO DECOMP command. This is resolved by specifying the DECOMP command with the INTO option. This option will create a pds that contains all the rules. Each member will be a resource rule record. Resource Rule keys that have an invalid member syntax(for example a $KEY(AB.CD)) will be assigned a member name. The member name is in the form of: @nnnnnn, where n is the next sequential number. You can also specify a member for these rules by using the $MEMBER option of resource rules. When you issue the command with the INTO option, duplicate members will be overlaid such that the previous entries will be overlaid with the last entry. This can be avoided by specifying a specific type code. This is accomplished as follows:
ACF
SET RESOURCE(CKC)
DECOMP LIKE(-) INTO('dsn')