beautypg.com

HP Integrity NonStop H-Series User Manual

Page 114

background image

Using NetCommand

NetCommand Interface

6–6

098571 Tandem Computers Incorporated

Changing the NetCommand

Prompt

Use the SETPROMPT command to change the NetCommand prompt so that it
displays any combination of the current node, volume, and subvolume, or any text
string that you specify.

SETPROMPT { [NODE] [VOL] [SUBVOL] | TEXT

string }

NODE

causes the prompt to include the name of the current node.

VOL

causes the prompt to include the name of the current volume.

SUBVOL

causes the prompt to include the name of the current subvolume.

TEXT

string

is the text you want to appear in the NetCommand prompt. The text will replace
the word, NETCMD, in the NetCommand prompt.

Considerations

The default NetCommand prompt is:

NETCMD 1>

When using the DSMS product, NetStatus, the NetCommand prompt appears on the
NetStatus command line and is truncated to 10 characters. For example, on the
NetStatus command line, the NetCommand prompt, NETCMD
\LONDON.$DSMS.DISPLAY 22>, appears as follows:

NETCMD \LO

Examples

Assume the default node, volume, and subvolume are \LONDON.$DSMS.DISP. The
following command would change the NetCommand prompt to
NETCMD.\LONDON.$DSMS.DISP >22

SETPROMPT NODE VOL SUBVOL

As another example, the the following command would change the NetCommand
prompt to LOCALNET 24>

SETPROMPT TEXT LOCALNET

This manual is related to the following products: