SCF Reference Manual for G-Series RVUs (G06.27+)

SCF Commands
SCF Reference Manual for G-Series RVUs520413-005
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 is a sensitive command.
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