You can create command limiting rule sets directly from the terminal or by first building the rule set in a file. The general procedure is:
Build a command limiting rule set in a standard CMS file. Normally, the file name of the rule is the same as the command name. The file type is always RULE.
From CMS, issue the ACF command.
After issuing the ACF command, establish the CMDLIM setting (SET CMDLIM, SE CMDLIM, or T CMDLIM).
acf
ACF
set cmdlim
CMDLIM
To interactively compile from the terminal, issue the COMPILE subcommand without a filename. The COMPILE subcommand lets you enter the control statements and rule entries at the terminal. To compile from a CMS file, issue the COMPILE subcommand with the name of the file that contains the rule set text.
To test the rule set, issue the TEST subcommand. The TEST subcommand can give you an idea of whether the rule set does the validation of CP command execution as you intended.
By default, the COMPILE subcommand automatically stores the rule set on the Infostorage database if the rule set was compiled from a CMS file. If rule input is entered directly from the terminal, you must issue the STORE subcommand.
After you store a command limiting rule set, it is effective on the database and in the rule set cache.