This command lists the source code of an enabled rule. For each line of the source text of the enabled rule, one line of output is returned to the external data queue.
The LISTSRC command sets the RC variable to zero and the external data queue contains no output lines.
This command has the following format:
ADDRESS AOF "LISTSRC keywords"
{ruleset.rule}
[SYSTEM(sysname)]
[SYSWAIT(seconds)]
Note: If the SYSTEM keyword is used for this command, it may contain only one system name. EXT and ALL refer to all external systems (more than one) and are therefore not allowed.
Examples: LISTSRC command
ADDRESS AOF "LISTSRC ruleset.rule"
ADDRESS AOF "LISTSRC *DYNAMIC.NEWRULE"
Usage Notes
Keep these things in mind when using the LISTSRC command:
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |