The LISTPARM command lists all the data for one or more parameters. Specify at least one of the NAME, KEY, METHOD, and ITEM operands. If you specify more than one operand, the search becomes more restrictive.
This command has the following format:
ADDRESS VOX "LISTPARM NAME(parm name)|KEY(parm key) METHOD(method name or key)
ITEM(entity name or entity key) [CMDRESP(destination)] [PREFIX(varname)]"
Specifies the name of the parameter to be listed. An asterisk (*) indicates that you want data for all parameters to be listed.
Specifies the key of the parameter to be listed.
Specifies the name or the key of the method to which the parameters are to belong.
Specifies the key or name of the entity to which the parameters are to belong.
(Optional) Directs return information, if any, to a specific destination. For a list of valid destination values, see the section ADDRESS VOX Return Information.
Default: REXX
(Optional) Specifies the name of the REXX stem variable (other than the default name) that contains the return information for the command.
For information about changing the default variable name, see the section ADDRESS VOX Return Information.
Default: VOX.LISTPARM
Usage Notes:
Parameter entries are divided into three increasingly specific classes:
Here are some procedures for retrieving data from LISTPARM:
Return Information:
After the LISTPARM command executes, it sets the special REXX return code variable RC.
Example:
The following example lists the data for PAGERID for VOICE1 for Fran Smith:
ADDRESS VOX "LISTPARM NAME(PAGERID) METHOD(VOICE1) ITEM(FRAN SMITH)"
For further details, refer to the sample REXX program listparm.rex, located in the CA Automation Point installation directory \sample\nm.
|
Copyright © 2011 CA.
All rights reserved.
|
|