Previous Topic: Using ACF DECOMP to Display Access RulesNext Topic: Using ACF DELETE to Delete an Access Rule


Changing an Access Rule

To modify an existing access rule set with the ACF command, follow these three steps:

  1. Decompile the rule with the ACF DECOMP subcommand. (You can also use ACFDCMP-an advanced CA ACF2 for VM command explained in the chapter “Advanced CA ACF2 for VM Commands” in this guide.)
  2. Edit the CMS file or the online version of the rule set to reflect the changes.
  3. Compile the rule set using the ACF COMPILE subcommand. (You can also use ACFCOMP-an advanced CA ACF2 for VM command explained in the chapter “Advanced CA ACF2 for VM Commands” in this guide.)

To decompile the rule into a CMS file, follow the steps shown below:

ACF
decomp tlcams into(tlcams)
 
ACFDCM556I‑ACCESS rule TLCAMS stored by TLCPJM on 01/03/98‑11:21
ACFDCM551I Total record length=301 bytes ‑ 7 percent utilized
 
ACF
end
 
xedit tlcams rule a
 ...

Edit the rule as you would any other CMS file, then compile the rule.

acf
ACF
compile tlcams
ACF compiler entered
...
Total record length=240 bytes ‑ 5 percent utilized
Rule TLCAMS replaced

CA ACF2 for VM displays the entire rule set.