This OPERAND clause describes a variable term operand and specifies that the value selected for this operand is the default setting for another operand. The transposition routine validates the value supplied for this operand and converts it to a common value.
[{label}] OPERAND value {-}
[{,maximum-length}] {-}
,TRAN=routine {-}
[{,OPTIONAL}] {-}
[{,VALUEFOR=label}]
To illustrate how you use this format, review the ATTACH model we ship with CA ACF2 for z/ VM.
FORMAT CLASS=B
OPERAND RCUU,4,TRAN=RCUU,VALUEFOR=ATTACHAS
.
.
.
ATTACHAS OPERAND VCUU,4,TRAN=VCUU,OPTIONAL
.
.
.
FORMAT END
In this example, the operand value supplied for the first operand (RCUU) is the default VALUEFOR the operand labeled ATTACHAS.
To further explain how this works, review this sample ATTACH command: ATTACH 0580 TO MAINT. When this command is processed by CP, real device 0580 is attached to MAINT as virtual device 0580. The CA ACF2 for z/ VM interpreter processes operand 0580 (the RCUU OPERAND clause) and uses 0580 as the default value for the VCUU OPERAND clause.
In many cases though, the operator probably issues ATTACH 0580 TO MAINT AS 0181. When this command is processed by CP, real device 0580 attaches to MAINT as virtual device 0181. The CA ACF2 for z/ VM interpreter processes operand 0580 against the RCUU OPERAND clause and uses 0580 as the default value for the VCUU OPERAND clause. When the 0181 operand is processed against the VCUU OPERAND clause, the 0181 supersedes the default value of 0580 in that position.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|