| SAS Companion for the OpenVMS Environment |
The SAS
windowing environment is an interactive
windowing environment for editing, running, and viewing SAS System source
code and output.
In Version 7 of the SAS System under OpenVMS, the
SAS windowing environment interface is available on any display device that
uses the Motif interface.
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 SAS windowing environment
interface:
Invoking SAS in the windowing environment mode opens
the three programming windows: Program Editor, Log,
and List.
The
SAS windowing environment is the default for running SAS under OpenVMS. Therefore,
to invoke SAS all you need to do is enter the SAS command (or whatever command
your site has chosen) at the DCL prompt:
$ SAS7
If the SAS windowing environment is not
the default, then use the DMS system option to specify the SAS windowing environment
interface:
$ SAS7/DMS
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 SAS windowing environment
interface and to display the windows on node MYNODE running TCP/IP transport
protocol, type the following:
$ SET DISP/CREA/NODE=MYNODE/TRANS=TCP/IP
$ SAS7/DMS
For more information about the SET DISPLAY DCL
command, see the OpenVMS online help
and OpenVMS User's Manual.
You can
also invoke SAS with the SAS windowing environment interface from the Applications menu of the Motif Session
Manager. To add SAS to the Applications menu (if
it is not already there), perform the following steps:
-
From the Options menu,
select
Menus.
-
Select
Applications from the
Menu Names list.
-
Enter a menu item name, such as
MySAS,
and define SAS7/DMS (along with the
appropriate command-line qualifiers) as the DCL command.
-
Add the menu definition to the
Item Names list by clicking on the up arrow.
-
Add the new item name to the existing list of
applications by clicking on the left arrow.
-
Click on [Apply] and then click
on [Cancel] in the Menus dialog window.
-
Select your menu command from the
Applications
menu to invoke the SAS System.
For more information about Motif Session
Manager, see the documentation for your Motif interface.
To
invoke SAS with the SAS windowing environment interface from a command procedure
(.COM) file, place the following commands in the .COM file:
$ DEASSIGN SYS$INPUT
$ SAS7/DMS
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 SAS windowing environment
interface.
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.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.