Open System Services NFS SCF Reference Manual
SCF Commands for OSS NFS
Open System Services NFS SCF Reference Manual—522582-001
2-3
Entering SCF Commands
SCF indicates it is ready to process commands by displaying its prompt: the hyphen and
greater-than sign (->). Additional information can be added in front of this prompt by
using the SETPROMPT command, as described in the Subsystem Control Facility (SCF)
Reference Manual (for D-series releases) or the SCF Reference Manual for G-Series
Releases.
SCF waits for a command, followed by a carriage return. After the command has been
received and processed, SCF displays its prompt for the next command.
An SCF command always begins with a keyword identifying the command (such as
ADD, ABORT, or ALTER). The keyword is followed by the object specifier, consisting
of the object type and the object name. For example:
->ABORT LAN $ZNFS.LAN0
The object specifiers (object types, and object names) supported by OSS NFS (including
the use of the ASSUME command to set a default object type or object name) are
discussed in Section 1, Introduction. In addition, OSS NFS also allows the use of
multiple object names with one command.
If additional attribute specifiers are required to define characteristics of the object, the
object name is followed by a comma and the attribute name and value. For example, the
following command defines the execution priority (PRI attribute) for a LAN object:
->ALTER LAN $ZNFS.LAN0, PRI 148
You can enter multiple SCF commands at a single prompt by separating the commands
with semicolons. For example:
->ASSUME PROCESS $ZNFS;ABORT LAN LAN0
When processing a command line that contains more than one command, SCF executes
the commands one at a time, from left to right. If an error occurs, SCF displays the
appropriate error message and ignores the rest of the line.
You can also continue a command onto a second line by terminating the first line with
an ampersand (&). SCF prompts for additional input before executing the command.
For example, the following ADD command takes up three lines:
->ADD SERVER $ZNFS.ROOT, STYPE OSS, CPU 0, &
->PRI 148, PROCESS $ROOT, PROGRAM $SYSTEM.ZOSSNFS.NFSSVRHP, &
->MNTPOINT "/"
You cannot enter more than 2048 characters for any command.
Note that SCF accepts input from either a terminal or a disk file (command file), and
directs output to either a terminal, disk file, or printer. However, for the purposes of this
manual, all examples are shown as they appear when a terminal is being used for both
input and output. For further information on these other input and output sources, refer
to the Subsystem Control Facility (SCF) Reference Manual (for D-series releases) or the
SCF Reference Manual for G-Series Releases.
The EXIT command terminates the SCF session.