REP (USSPARM)
macroinstructions: | USSPARM |
dependencies: | none |
- REP=operand_name
- Specifies the parameter is replaced with operand_name.
The value for operand_name must be 1–8
alphanumeric characters. The value of the operand is assigned from
the parameter specified by PARM. If PARM specifies an keyword parameter,
its value is assigned to the operand specified by REP. If PARM specifies
a positional parameter, its value is treated as if it were an operand
value and it is assigned to the operand specified by REP.
If REP is not coded, it takes the value of PARM. (That is, the user-entered parameter is used as entered.)
Positional parameters such as P1 and P2 can also be used as operands. For multiple specifications of the same parameter, the last value specified is used (as shown in Example 3 in Examples of USS command conversion).
- REP=VERB
- Indicates that the command is replaced with the value of the VALUE
operand. The USS table is then searched a second time, matching this
new command to the value of a CMD operand on a USSCMD macroinstruction.
For example using the following USS macroinstructions, if the operator enters MODIFY DUMP, during a second pass of the USS table VTAM® will look for USSCMD CMD=DUMP.
USSCMD CMD=MODIFY USSPARM PARM=DUMP,REP=VERB,VALUE=DUMP USSCMD CMD=DUMP USSPARM PARM=DUMPDS