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

SCF Commands
SCF Reference Manual for G-Series RVUs520413-004
5-99
REPLACE Command
REPLACE Command
The REPLACE command installs a new version of an object while the object is
executing. The use of this command is subsystem-specific.
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 replaced. The variable object-spec is defined on
page 5-2. If object-spec is omitted, the assumed object is renamed. For
information about characteristics of the assumed object, see ASSUME Command
on page 5-36.
attribute-spec
specifies an attribute and the value associated with the attribute. The attribute and
its value are defined by the subsystem that supports the REPLACE command.
The variable attribute-spec is defined on page 5-7.
Examples
The following command allows online replacement of the TSYSDP2 file in the
storage subsystem while the file is in use:
-> REPLACE $DATA00, PROGRAM $SYSTEM.ZDP2.TSYSDP2
The following command replaces the TSYSDP2 file on all magnetic disks in the
system that are in the STOPPED state.
-> REPLACE DISK $*, PROGRAM $SYSTEM.ZDP2.TSYSDP2, &
-> SUB MAGNETIC, SEL STOPPED
The following command replaces the $ZZSTO program on all magnetic disks in the
system.
-> REPLACE $ZZSTO, SUB MAGNETIC, COMMIT
REPLACE [ /OUT file-spec/ ] [ object-spec ] ,
attribute-spec