Previous Page | Next Page

Getting Started with SAS under OpenVMS

X Window Command Line Options


Specifying X Window Command Line Options

When you invoke some X clients, such as SAS, you can use command line options that are passed to the X Window System. In general, you should specify X Window System options after SAS options on the command line with the /XRESOURCES option:

SAS92/xres="-display wizard:0.0"

The X Window System command line options and their values must be enclosed in double quotation marks. If the first blank-separated element of a /XRES argument list does not begin with a hyphen (-), it is assumed to be the name to use for the application instance.


X Window Command Line Options Available at Invocation

The following list describes the X Window System command line options that are available when you invoke a SAS session from the command prompt:

-display host:server.screen

specifies the name or IP address of the terminal on which you want to display the SAS session. For example, if your display node is wizard, you might enter one of the following commands:

-display wizard:0.0
-display 10.22.1.1:0
You can set the display with the OpenVMS $SET DISPLAY/CREATE DCL command. A -display option on the command line takes precedence over the default display setting that is set with the $SET DISPLAY/CREATE command.

Note:   Because SAS supports only the TCP/IP transport protocol, the double-colon DECnet naming style (host::server.screen) is not valid.   [cautionend]

-name instance-name

reads the resources in your SAS resource file that begin with the value specified for instance-name. For example, -name MYSAS reads the resources that begin with MYSAS such as:

MYSAS.dmsfont: Cour14
MYSAS.defaultToolbox: True

You can also specify the value for instance-name without putting -name in the /XRES option if -name is the first item in the quotation marks. For example, the following two commands are the same:

SAS92/xres="SAS"
SAS92/xres="-name SAS"
-xrm string

specifies a resource to override any defaults. For example, the following resource turns off the Confirm dialog box when you exit SAS:

SAS92/XRESOURCE="-xrm "SAS.confirmSASExit: False"

As an alternative to the -XRM option to /XRESOURCE, you can use multiple instances of the /XRM command line option to specify individual X resources, for example:

SAS92/XRM="SAS.confirmSASExit: False"/XRM="SAS.pmenu.On: False"

Previous Page | Next Page | Top of Page