The ALTERMETHOD command changes the characteristics of a method.
This command has the following format:
ADDRESS VOX "ALTERMETHOD KEY(key) [INVOKE(invocation string)] [NAME(name)] [TYP(B|C|D|...|W)]"
Specifies the key of the method whose characteristics are to be altered.
(Optional) Specifies the string that is used to invoke this method.
The invocation string must begin with the name of the command or REXX script to be invoked. Parameters that never change can follow. (Parameters can also be added to the invocation by using the PARAMETERS feature of this database.)
(Optional) Specifies the new name to be assigned to the method. Names can only contain uppercase and lowercase letters, numbers, blanks, and the following special characters: - _ @ # . $ % / ; : \
(Optional) Specifies that the method type code for the method. This value is a one-letter designation. When NMFIND is invoked with the MTUP parameter and a TYP character is a member of the MTUP list, then the method is attempted.
Return Information:
After ALTERMETHOD executes, it sets the special REXX return code variable RC.
Example:
The following example changes the invocation string for the method with key 200003001 to PAGE2:
ADDRESS VOX "AlterMethod KEY(200003001) INVOKE(PAGE2)"
|
Copyright © 2013 CA.
All rights reserved.
|
|