Chapter 3: HSI Commands


Chapter 3 describes the components of an HSI request, their relationships, and the rules that govern requests, regardless of the mode of execution. This section also summarizes commands and keywords by function to help you understand the relationships between them.


3.1 Request Format
An HSI request is entered in response to the question mark (?) prompt. The basic format for all HSI requests is where

Detailed descriptions of all commands, parameters, and keywords are presented alphabetically in Chapter 8: HSI Commands, Keywords, and Parameters

[ PAGE TOP ]


3.2 Request Format Rules
The following general rules apply to the HSI request format.

Note that HSI will issue a continue prompt ("[CONTINUE]:" by default) at the beginning of the continued input line. You can then continue your request. If you are not using a system which has type-ahead buffers, you must wait for the prompt before entering any input on a line, even if the line is a continuation. When you have completed the continued line, HSI will execute the entire input and then respond. The following table lists special characters along with a description of their meanings in HSI requests.

[ PAGE TOP ]


3.3 Commands
Click here to see a list of the HSI commands, organized by function. Click here to see an alphabetically organized list of commands with detailed descriptions.

[ PAGE TOP ]


3.4 Parameters
The symbolic name "parameter" is used here for all request input other than commands, keywords, options, and comments. A parameter specifies the object(s) of the command. HSI uses the following types of parameters:

Multiple parameters can appear with most commands and are separated by blanks. See Section 7, Commands, Keywords, and Parameters, for a detailed description of each parameter.

[ PAGE TOP ]


3.5 Keywords
For most HSI requests, keywords can be used to exercise options or to define conditions or file attributes. Keywords are used to define and control your use of HPSS. All the keywords have values, although many of them are null (empty) when you start the HSI Interface. You can set or change a keyword at any time either by using a keyword with a request or by using the SET command. See Section 7, Commands, Keywords, and Parameters, for a description of each keyword.

3.5.1 Keyword Format
To display the current value of a keyword, use a standalone keyword with the SET command without an "=" or input value, for example, to show the current setting of the COPIES keyword:

Note: The copies keyword has effects only where local implementations allow it; in particular, it has no effect on NERSC HPSS systems.

Values are assigned to keywords using the following form: Spaces are permitted before and after the equal (=) sign, as shown in the following example:

This page summarizes keywords by function.

[ PAGE TOP ]


3.6 Keysets
The collection of all keywords with their assigned values is called a keyset. Knowing how to work with keysets can make entering HSI requests faster and more efficient. There are two kinds of keysets: active keysets and saved keysets.

3.6.1 Active Keysets
Active keysets contain keyword values in effect throughout a current execution of HPSS, unless individual values are changed by a SET command or the entire active keyset is replaced by the ADOPT command. (A keyword's value can be changed for just the duration of a request by setting its value in that request.)

When you start HPSS, all the keyword values of the active keyset are initialized to signon defaults, most of which are null (empty). The default value for each keyword is stated in the description of the keyword in Section 7, HSI Commands, Keywords, and Parameters and in the table at the end of this section. To display the current values of the active keyset, use the SET command. To display the current value of a specific keyword, use the SET command with the standalone keyword. To save the values of an active keyset, use the KEEP command.

Request processing looks first in the request for applicable keywords and then looks in the active keyset for any remaining applicable keywords. For example, the following request will save two copies of the file, AFILE. The directory and all other values applicable to SAVE will be taken from the active keyset. If the copies= keyword had not been specified, then HSI would save one copy, unless the active keyset value had been changed by an earlier command.

Note: The copies keyword has effects only where local implementations allow it; in particular, it has no effect on NERSC HPSS systems.

3.6.2 Saved Keysets
Saved keysets contain keyword values that become active only when you use the ADOPT command. Adopting a keyset allows you to re-establish your own pre-set collection of default keyword values.

In the following example, the active keyset is saved under the name "mykeyseta."

You can also store a saved keyset that uses your userid for its name by simply using the KEEP command with a "-" parameter. Access this keyset by using the ADOPT command, again with a "-" parameter.

[ PAGE TOP ]