You use the system-specific branching instructions to control the execution of a command file in accordance with the underlying hardware. The system-specific branching instructions can be used before a DCOPT command.
The following system-specific branching instructions are available:
/IF-BCAM-SYSINF
| SYSINF=*CPUID(...) / *CONFNAM(...) / *SYSID(...) / *VMID(...), CONDITION=EQ/NE The following commands are processed if the condition for a system-specific branch has been fulfilled (equal to in the case of EQ, not equal to in the case of NE). |
/END-IF-BCAM-SYSINF | Terminates a system-specific branch which has started. |
The nesting depth of the system-specific branching instructions is limited to one.
IF-BCAM-SYSINF | ||||||||||||||||||||||||||||||||||||||||
|
SYSINF=...
You use SYSINF to specify which system attribute is to be used for the comparison.
SYSINF=*CPUID(...)
The name of the CPU used is to be employed for the comparison.
The values are output with the SHOW-SYSTEM-INFORMATION INF=*CPU-ID-LIST command.
CPU-ID=<composed-name 1..21 with wildcards> / <c-string 1..21>
The CPU ID. It is compared with the first CPU ID.
SYSINF=*CONFNAM(...)
The name of the hardware configuration used is to be employed for the comparison. The values are output with the SHOW-SYSTEM-INFORMATION INF=*CONFIGURATION command.
CONFIGURATION=<composed-name 1..16 with wildcards> / <c-string 1..16>
Name of the hardware configuration.
SYSINF=*SYSID(...)
The SYSID of the home pubset is to be used for comparison. The value is output with the SHOW-SYSTEM-INFORMATION INF=*SYSTEM-CONFIGURATION command.
SYSID=<alphanum-name 1..3>
Specification of the SYSID assigned for the home pubset.
Value range: A through Z, up to 9 and 65 through 192.
SYSINF=*VMID(...)
The VM ID is to be used for the comparison. The condition can be specified either via the VM index or the VM name. The VM name is defined in the VM2000 command CREATE-VM. The values for the VM ID are output with the SHOW-SYSTEM-INFORMATION INF=*SYSTEM-CONFIGURATION command.
VM-ID=<integer 1..255>
The VM ID is specified by the VM index.
VM-ID=<name 1..8>
The VM ID is specified by the VM name.
CONDITION=...
You use CONDITION to specify the condition under which the commands are to be processed.
CONDITION=EQ
When the system attribute is the same, the commands are processed up to the next END-IF-BCAM-SYSINF statement.
CONDITION=NE
When the system attribute is not the same, the commands are processed up to the next END-IF-BCAM-SYSINF statement.