Contents
About
What's New in SAS 9.2 OpenVMS Companion
Running SAS under OpenVMS
Introduction to the OpenVMS Operating Environment
What Is the OpenVMS Operating Environment?
Access to OpenVMS
Basics of the OpenVMS File System
OpenVMS Filenames
OpenVMS File Types
OpenVMS File Types Used by SAS
OpenVMS Logical Names and Logical-Name Tables
The OpenVMS Digital Command Language
Data Security
Getting Started with SAS under OpenVMS
Starting a SAS Session under OpenVMS
Selecting a Mode of Operation under OpenVMS
SAS Windowing Environment under OpenVMS
Batch Mode under OpenVMS
Interactive Line Mode under OpenVMS
Noninteractive Mode under OpenVMS
Running SAS in a SPAWN/NOWAIT Subprocess
Running SAS in a Detached Process
X Window Command Line Options
Techniques for Customizing Your SAS Session under OpenVMS
Customizing Your SAS Session Using System Options
Configuration Files
Autoexec Files
Customizing Your SAS Session Using OpenVMS Logical Names
Issuing DCL Commands during a SAS Session
Determining the Completion Status of a SAS Job under OpenVMS
Interrupting a SAS Session under OpenVMS
Ending Your SAS Session
Identifying and Resolving Problems under OpenVMS
Working in the SAS Windowing Environment
Introduction to Working in the SAS Windowing Environment
Description of SAS in the X Environment
The SAS Session Manager under OpenVMS
Displaying Function Key Definitions under OpenVMS
The SAS ToolBox under OpenVMS
Opening Files under OpenVMS
Changing Your Current Working Directory under OpenVMS
Searching for Character Strings under OpenVMS
Replacing Character Strings under OpenVMS
Setting Up Printers under OpenVMS
Sending Mail from within Your SAS Session under OpenVMS
Creating Icons for Windows under OpenVMS
Using the Menus under OpenVMS
Using the Mouse under OpenVMS
SAS Interface to the TPU Editor
Using Special Character Attributes under OpenVMS
Getting Help for SAS
Customizing the SAS Windowing Environment
Overview of Customizing SAS in X Environments
Overview of X Resources
Methods for Customizing X Resources
Editing the X Resource File
Modifying X Resource Settings by Using the Preferences Dialog Box
Customizing the SAS ToolBox under OpenVMS
Customizing Key Definitions under OpenVMS
Customizing Fonts under OpenVMS
Customizing Colors under OpenVMS
Controlling Menus under OpenVMS
Customizing Cut-and-Paste Operations under OpenVMS
Customizing Session Workspace, Session Gravity, and Window Sizes
Specifying User-Defined Icons under OpenVMS
Miscellaneous Resources under OpenVMS
Summary of X Resources for SAS under OpenVMS
Using SAS Files
Introduction to SAS Files, Libraries, and Engines under OpenVMS
Common Types of SAS Files in OpenVMS
The Work Library under OpenVMS
The Sasuser Library
Compatibility of Existing SAS Files with SAS 9.2
Accessing SAS Files under OpenVMS
Assigning Librefs under OpenVMS
Assigning OpenVMS Logical Names
Accessing Files in Concatenated SAS Libraries under OpenVMS
How SAS Assigns an Engine When No Engine Is Specified
Sharing Data between OpenVMS Platforms
Multiuser Access to SAS Files under OpenVMS
Estimating the Size of a SAS Data Set under OpenVMS
Generation Data Sets under OpenVMS
Using SAS Engines
Overview of the SAS Engine
Overview of the TAPE Engine under OpenVMS
Engines Available under OpenVMS
How to Select an Engine under OpenVMS
Member Types Supported for V9, V8, and V7 Engines
Engine/Host Options for the V9, V8, and V7 Engines
The V6 Engine under OpenVMS
The CONCUR Engine under OpenVMS
The DBMS Interface Engine
The OSIRIS and SPSS Engines under OpenVMS
Using External Files and Devices
Introduction to Using External Files and Devices under OpenVMS
Identifying External Files to SAS
Reading and Writing SAS Procedure Output Files under OpenVMS
Displaying Information about External Files under OpenVMS
Accessing Remote External Files under OpenVMS
Reading from and Writing to OpenVMS Commands (Pipes)
Sending Electronic Mail Using the FILENAME Statement (E-MAIL)
Routing the SAS Log and SAS Procedure Output
Overview to Routing Log and Procedure Output
Attributes of the SAS Log and Procedure Output Files
Overriding the Default Log and Output Destinations under OpenVMS
Routing Output in the SAS Windowing Environment
Routing Output in Interactive Line Mode
Routing Output in Noninteractive Mode
Routing Output in Batch Mode
Using the PRTFILE Command under OpenVMS
Accessing External Shared Images from SAS
Overview of Shared Images in SAS
The SASCBTBL Attribute Table
Special Considerations When Using External Shared Images
Examples of Accessing External Shared Images from SAS
Viewing Output and Help in the Remote Browser
What Is Remote Browsing?
Using Remote Browsing with ODS Output
Setting Up the Remote Browsing System
Making Changes to the SAS Remote Browser
Application Considerations
Data Representation
Numeric Variables in the OpenVMS on HP Integrity Servers Environment
Missing Values under OpenVMS
Optimizing System Performance
Overview of Optimizing OpenVMS System Performance
Data Set I/O under OpenVMS
External I/O under OpenVMS
System Start-Up under OpenVMS
Optimizing Memory Usage under OpenVMS
Features of the SAS Language for OpenVMS
Commands under OpenVMS
SAS Commands under OpenVMS
AUTOSCROLL Command
CAPS Command
COLOR Command
DLGABOUT Command
DLGCDIR Command
DLGENDR Command
DLGFIND Command
DLGFONT Command
DLGOPEN Command
DLGPREF Command
DLGREPLACE Command
DLGSAVE Command
DLGSCRDUMP Command
FILE Command
FILL Command
FONTLIST Command
HOME Command
HOSTEDIT Command
INCLUDE Command
RESHOW Command
TOOLCLOSE Command
TOOLEDIT Command
TOOLLARGE Command
TOOLLOAD Command
TOOLTIPS Command
TPU Command
UNDO Command
WBROWSE Command
WCOPY Command
WCUT Command
WPASTE Command
WUNDO Command
X Command
Function-Key Commands
Host-Specific Frames of the Form Window
Data Set Options under OpenVMS
SAS Data Set Options under OpenVMS
Specifying Data Set Options
Summary Table of SAS Data Set Options under OpenVMS
ALQ= Data Set Option
ALQMULT= Data Set Option
ALTER= Data Set Option
BKS= Data Set Option
BUFSIZE= Data Set Option
CACHENUM= Data Set Option
CACHESIZE= Data Set Option
CNTLLEV= Data Set Option
DEQ= Data Set Option
DEQMULT= Data Set Option
LOCKREAD= Data Set Option
LOCKWAIT= Data Set Option
MBF= Data Set Option
OUTREP= Data Set Option
Formats under OpenVMS
SAS Formats under OpenVMS
Writing Binary Data under OpenVMS
HEXw. Format
$HEXw. Format
IBw.d Format
PDw.d Format
PIBw.d Format
RBw.d Format
UICw. Format
VMSMSGw. Format
VMSTIMEF. Format
Functions and CALL Routines under OpenVMS
SAS Functions under OpenVMS
SAS CALL Routines under OpenVMS
ASCEBC Function
BYTE Function
CALL FINDEND Routine
CALL SYSTEM Routine
COLLATE Function
DELETE Function
DINFO Function
DOPEN Function
DOPTNAME Function
DOPTNUM Function
EBCASC Function
FDELETE Function
FEXIST Function
FILEATTR Function
FILEEXIST Function
FILENAME Function
FILEREF Function
FINDFILE Function
FINFO Function
FOPEN Function
FOPTNAME Function
FOPTNUM Function
GETDVI Function
GETJPI Function
GETLOG Function
GETMSG Function
GETQUOTA Function
GETSYM Function
GETTERM Function
LIBNAME Function
LIBREF Function
MODULE Function
MOPEN Function
NODENAME Function
PATHNAME Function
PEEKLONG Function
PUTLOG Function
PUTSYM Function
RANK Function
RENAME Function
SETTERM Function
SYSGET Function
TERMIN Function
TERMOUT Function
TRANSLATE Function
TTCLOSE Function
TTCONTRL Function
TTOPEN Function
TTREAD Function
TTWRITE Function
VMS Function
Informats under OpenVMS
SAS Informats under OpenVMS
Reading Binary Data under OpenVMS
HEXw. Informat
$HEXw. Informat
IBw.d Informat
PDw.d Informat
PIBw.d Informat
RBw.d Informat
VMSTIME. Informat
VMSZNw.d Informat
ZDw.d Informat
Procedures under OpenVMS
SAS Procedures under OpenVMS
CATALOG Procedure
CIMPORT Procedure
CONTENTS Procedure
CONVERT Procedure
CPORT Procedure
DATASETS Procedure
FORMAT Procedure
OPTIONS Procedure
PMENU Procedure
PRINTTO Procedure
SORT Procedure
VAXTOINTEG Procedure
Statements under OpenVMS
SAS Statements under OpenVMS
ABORT Statement
ATTRIB Statement
FILE Statement
FILENAME Statement
FOOTNOTE Statement
%INCLUDE Statement
INFILE Statement
LENGTH Statement
LIBNAME Statement
SYSTASK Statement
TITLE Statement
WAITFOR Statement
X Statement
System Options under OpenVMS
SAS System Options under OpenVMS
Determining How an Option Was Set under OpenVMS
Summary of SAS System Options under OpenVMS
ALQMULT= System Option
ALTLOG= System Option
ALTPRINT= System Option
APPLETLOC= System Option
AUTHPROVIDERDOMAIN= System Option
AUTOEXEC= System Option
AUTOSAVELOC= System Option
BUFNO= System Option
BUFSIZE= System Option
CACHENUM= System Option
CACHESIZE= System Option
CATCACHE= System Option
CC= System Option
CLEANUP System Option
CONFIG= System Option
DEQMULT= System Option
DETACH System Option
DEVICE= System Option
DUMP= System Option
EDITCMD= System Option
EMAILSYS= System Option
ENGINE= System Option
EXPANDLNM System Option
FILECC System Option
FMTSEARCH= System Option
FONTSLOC= System Option
FULLSTIMER System Option
GSFCC= System Option
HELPHOST System Option
HELPINDEX= System Option
HELPLOC= System Option
HELPTOC= System Option
INITSTMT= System Option
JREOPTIONS= System Option
LINESIZE= System Option
LOADLIST= System Option
LOG= System Option
LOGMULTREAD System Option
LOGPARM= System Option
MAPS= System Option
MEMSIZE= System Option
MSG= System Option
MSGCASE System Option
MSYMTABMAX= System Option
MVARSIZE= System Option
NEWS= System Option
OBS= System Option
OPLIST System Option
PAGENO= System Option
PAGESIZE= System Option
PARMCARDS= System Option
PRIMARYPROVIDERDOMAIN= System Option
PRINT= System Option
REALMEMSIZE= System Option
RSASUSER System Option
SASAUTOS= System Option
SASHELP= System Option
SASUSER= System Option
SORTPGM= System Option
SORTSIZE= System Option
SORTWORK= System Option
SPAWN= System Option
STIMEFMT= System Option
STIMER System Option
SYSIN= System Option
SYSPARM= System Option
SYSPRINT= System Option
TERMIO= System Option
USER= System Option
VERBOSE System Option
WORK= System Option
WORKCACHE= System Option
XCMD System Option
XCMDWIN System Option
XKEYPAD System Option
XLOG System Option
XLOGICAL System Option
XOUTPUT System Option
XRESOURCES= System Option
XSYMBOL System Option
XTIMEOUT= System Option
Macro Facility under OpenVMS
About the SAS Macro Facility under OpenVMS
Automatic Macro Variables under OpenVMS
Macro Statements under OpenVMS
Macro Functions under OpenVMS
Autocall Libraries under OpenVMS
Stored Compiled Macro Facility under OpenVMS
Other Host-Specific Aspects of the Macro Facility under OpenVMS
Appendices
Error Messages
Overview of Error Messages under OpenVMS
OpenVMS Operating Environment Messages
Host Subsystem Messages under OpenVMS
TPU Interface Errors under OpenVMS
Concurrency Engine Errors under OpenVMS
The SAS$ROOT Directory
Introduction to the SAS$ROOT Directory
Contents of the SAS$ROOT Directory
Recommended Reading
Glossary
Product
Release
Base SAS
9.2
Type
Usage and Reference
Copyright Date
February 2009
Last Updated
15Jan2009