Chapter Contents

Previous

Next
SAS Companion for the OpenVMS Operating Environment

Using SAS with the SAS Explorer Window

In Version 8 of the SAS System under OpenVMS, the Explorer window is available on any display device that uses the Motif interface.

SAS Explorer Window

[IMAGE]

For information about Motif, see your Motif documentation. The SAS Explorer window is not the default for the SAS System in the OpenVMS operating environment.


Invoking SAS with the Explorer Window

If you have the hardware and software to run the Motif interface, you can use any of the following methods to invoke a SAS process with the Explorer window:


Invoking SAS with the SAS Command

If the SAS Explorer window is the default for running SAS at your site, then all you need to do is enter the SAS command (or whatever command your site has chosen) at the DCL prompt:

$ SAS8

If the SAS Explorer window is not the default, then use the EXPLORER system option to specify the Explorer window:

$ SAS8/EXPLORER

As explained in Starting a SAS Session, you can also specify other system options when you invoke SAS in this manner.

To specify a display node, use the SET DISPLAY DCL command. For example, if you want to invoke SAS with the Explorer window and to display the windows on node MYNODE running TCP/IP transport protocol, type the following:

$ SET DISPLAY/CREATE/NODE=MYNODE/TRANS=TCPIP
$ SAS8/EXPLORER

For more information about the SET DISPLAY DCL command, see the OpenVMS online help. For more information about logical names, refer to OpenVMS User's Manual.

Invoking SAS from Motif Session Manager

You can also invoke SAS with the SAS Explorer window from the Applications menu of the Motif Session Manager. To add SAS to the Applications menu (if it is not already there), follow these steps:

  1. From the Options menu, select Menus.

  2. Select Applications from the Menu Names list.

  3. Enter a menu item name, such as MySAS, and define SAS8/EXPLORER (along with the appropriate command-line qualifiers) as the DCL command.

  4. Add the menu definition to the Item Names list by clicking on the up arrow.

  5. Add the new item name to the existing list of applications by clicking on the left arrow.

  6. Click on [Apply] and then click on [Cancel] in the Menus dialog window.

  7. Select your menu command from the Applications menu to invoke the SAS System.

For more information about Session Manager, see the documentation for your Motif interface.

Invoking SAS from a Command Procedure File

To invoke SAS with the Explorer window from a command procedure (.COM) file, place the following commands in the .COM file:

$ DEASSIGN SYS$INPUT
$ SAS8/EXPLORER

The DEASSIGN command prevents OpenVMS from looking for program input in the location defined by the SYS$INPUT logical name, and it enables SAS to be initialized with the Explorer window.

If the .COM file is named MYSAS.COM, then you would execute the file as follows:

$ @MYSAS
For more information about command procedure files, see Command Procedures and OpenVMS User's Manual.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.