

Host Environment Commands › ADDRESS AOF Commands › AOF LISTSRC—List Source Code
AOF LISTSRC—List Source Code
The LISTSRC command lists the source code of a rule. For each line of the source text of the enabled rule, one line of output is returned to the external data queue.
This command sets the RC variable to zero and the external data queue contains no output lines.
Consider the following information when you use the LISTSRC command:
- You can specify any valid rule set name for the value of ruleset, including *DYNAMIC. No default is specified.
- Specify the valid name of an enabled rule for the value of rule. You cannot specify an asterisk (*). No default is specified.
- For all enabled rules to be eligible for LISTSRC processing, the AOFSOURCETEXT parameter must be set to YES. If the AOFSOURCETEXT parameter is set to NO, only dynamic rules are eligible for LISTSRC processing.
- When the value of the AOFSOURCETEXT parameter is NO and you issue the LISTSRC command, CA OPS/MVS returns the following information to the external data queue:
- Return code 20
- Message OPS3811I, which indicates that CA OPS/MVS could not find the source text of the rule.
AOF LISTSRC 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.
More information:
ADDRESS AOF Command Format
ADDRESS AOF Return Codes
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|