3.2  Command Syntax

You interact with the CLI by issuing commands from the command prompt. Some SEA operations can be performed using several different commands, or syntaxes. The supported syntaxes are:

You can enter commands using any of the supported command formats. If desired, you can switch between the different syntaxes.

Note


This chapter only describes the New Common Syntax since it supports all the SEA functionality and is the default syntax at installation. If you want to use commands from another syntax, refer to Appendix E.


If you are using a command syntax other than the default, you must include a syntax designator in the command. Table 3–2 shows the syntax designators.

Table 3–2 Syntax Designators 
Syntax Name
Syntax Designator
Command Preface
New Common Syntax
n
wsea or wsea n 1 
Old Common Syntax
x
wsea x
DECevent Emulator (UNIX)
u
wsea u
DECevent Emulator (VMS)
v
wsea v
 1 Because the New Common Syntax is the default syntax, the syntax designator "n" is not required.

3.2.1  Setting the Default Syntax

When SEA is installed the new common syntax is the default for the CLI, however, you can change the default syntax. Any commands entered using the current default syntax do not require a syntax designator. To specify a default syntax, use the following command:

wsea syntax syntax_designator
Where syntax_designator refers to the letter corresponding to the desired default syntax (see Table 3–2 for the designator associated with each syntax).

For example, to set the DECevent UNIX syntax as the default syntax, use the following command:

wsea syntax u

Once the syntax is set, you can enter commands in your chosen syntax without specifying the syntax designator.

Note


Changing the default syntax affects all the users on the system. Thus, if someone else changes the default syntax, it will affect your SEA session. If there are multiple users logged into a system, you may want to include a syntax designator with all commands that support multiple syntaxes.


3.2.2  Showing the Default Syntax

To show the current default syntax, use the following command:

wsea syntax