SCF Reference Manual for G-Series RVUs (G06.27+)
SCF Commands
SCF Reference Manual for G-Series RVUs—520413-005
5-93
PRIMARY Command
PRIMARY Command
The PRIMARY command causes a processor switch. The backup processor becomes
the primary processor and the primary processor becomes the backup processor.
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 that is to have its primary and backup processors 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.)
number
specifies the processor number of the backup process, causing processor control
for object-spec to switch from the primary processor to the backup processor.
Consideration
You can use the LISTDEV command (described on page 5-71) on object-spec to
determine which processor is currently the primary processor.
Examples
•
The following command causes the backup processor (processor 4) to become the
primary processor for the object named $LINEA. (The primary process at the time
the command is issued becomes the backup process after the command is
executed.)
-> PRIMARY $LINEA, 4
•
The following command causes the backup processor (processor 3) to become the
primary processor for the $DATA02 disk.
-> PRIMARY $DATA02, 3
PRIMARY [ /OUT file-spec/ ] [ object-spec ] , number