SCF Reference Manual for J-Series and H-Series RVUs

SCF Commands
SCF Reference Manual for J-Series and H-Series RVUs529649-003
5-119
SWITCH Command
SWITCH Command
The SWITCH command causes the backup path object to become the primary path
object and, simultaneously, the primary path object to become the backup path object.
Path objects that can be switched between primary and backup are defined by each
subsystem. This command is sensitive.
OUT
file-spec
causes any SCF output generated for this command to be directed to the specified
file. The variable
file-spec
is defined on page 5-9.
object-spec
designates the object to be switched. The variable
object-spec
is defined on
page 5-2. If
object-spec
is omitted, the assumed object is switched. (See
ASSUME Command on page 5-36.) The objects that can be switched depend on
the subsystem.
SUB [
subobjtype
]
selects the subordinate objects the command affects. The variable
subobjtype
can be a subordinate object type or one of the keywords ONLY, ALL, or NONE, as
explained under SCF Subdevices on page 3-5.
SEL [ NOT ]
state
directs the command only at objects in the specified state or only at those not in
the specified state. Valid states are listed in Table 3-1 on page 3-7. The use of
this option is subsystem-specific.
attribute-name
is the name of a switchable attribute.
attribute-value
is the value associated with
attribute-name
to which the object should be
switched.
SWITCH [ /OUT
file-spec
/ ] [
object-spec
]
[ , SUB [
subobjtype
] ] [ , SEL [ NOT ]
state
]
,
attribute-name
attribute-value