Contents
About
Title Page
What's New in the SAS 9.3 Windows Companion
Accessibility Features in SAS under Windows
About This Book
Running SAS under Windows
Getting Started under Windows
SAS: Exploiting the Power of Windows
Starting SAS
Files Used by SAS
Submitting SAS Code
Interrupting Your SAS Session
Running Windows or MS-DOS Commands from within SAS
Terminating a SAS Process
Ending Your SAS Session
Interacting with SAS under Windows
Overview of the SAS Interface
Working within Your SAS Session
Customizing Your SAS Session
Accessing Online Help and Documentation
Using the SAS Editors under Windows
Using the Enhanced Editor
Using the Program Editor
Using SAS Files under Windows
Introduction to SAS Files
Multi Engine Architecture
Using Data Libraries
Accessing SAS Files from Multiple SAS Sessions
Using SAS Files from Other Versions with SAS 9.3 for Windows
Using SAS 9.3 Files with Previous Releases
Using Remote Host SAS Files in SAS 9.3
Reading BMDP, OSIRIS, and SPSS Files
Transferring SAS Files between Operating Environments
Accessing Database Files with SAS/ACCESS Software
Using the SAS ODBC Driver to Access SAS Data from Other Applications
Using External Files under Windows
About External Files
Referencing External Files
Accessing External Files with SAS Statements
Accessing External Files with SAS Commands
Advanced External I/O Techniques
Reading Data from the Communications Port
Managing SAS Output under Windows
Printing
Routing Procedure Output to a Web Browser
Routing Procedure Output and the SAS Log to a File
Using the SAS Logging Facility to Write Log Messages
Producing Graphics
Performance Considerations under Windows
Hardware Considerations
Windows Features That Optimize Performance
SAS Features That Optimize Performance
Network Performance Considerations
Advanced Performance Tuning Methods
Using SAS with Other Windows Applications
Using Lotus Notes to Distribute SAS Data under Windows
Introduction to Using Lotus Notes with SAS
Populating a Lotus Notes Database Using the DATA Step and SCL Code
Using Windows System Tools with SAS under Windows
Introduction to Using Windows System Tools with SAS
Event Viewer Application Log
Performance Tools
Starting SAS as a Windows Service
Using OLE in SAS/AF Software under Windows
About OLE
SAS/AF Catalog Compatibility
Inserting an OLE Object in a FRAME Entry
Editing an OLE Object within a FRAME Entry
Invoking OLE Verbs
Using Linked OLE Objects
Converting OLE Objects
Automating OLE Objects and Applications
Using OLE Custom Controls (OCXs) in Your SAS/AF Application
Controlling SAS from Another Application Using OLE
Introduction to Automating SAS
Creating an Instance of SAS
Getting Feedback from the SAS Session
Examples of Automating SAS with OLE
Methods and Properties for Use with a SAS OLE Automation Object
Command Method
QueryWindow Method
Quit Method
Submit Method
Top Method
Properties for Controlling a SAS Automation Object
Using Dynamic Data Exchange under Windows
Overview of Dynamic Data Exchange (DDE)
DDE Syntax within SAS
Referencing the DDE External File
DDE Examples
Using Unnamed and Named Pipes under Windows
Overview of Pipes
Using Unnamed Pipes
Using Named Pipes
Accessing External DLLs from SAS under Windows
Overview of Dynamic Link Libraries in SAS
The SASCBTBL Attribute Table
Special Considerations When Using External DLLs
Examples
Special Considerations for SAS/AF Programmers under Windows
Controlling the Appearance and Behavior of SAS
Controlling the Main SAS Window
Accessing External DLLs from SAS
Designing, Saving, and Loading Custom Toolbar Controls
Invoking SAS/AF Applications Automatically
Associating Your Own Logo and Icons with Your SAS/AF Application
Features of the SAS Language for Windows
Data Set Options under Windows
SAS Data Set Options under Windows
SGIO Data Set Option: Windows
SAS Commands under Windows
SAS Commands under Windows
AUTOSCROLL Command: Windows
AWSMAXIMIZE Command: Windows
AWSMINIMIZE Command: Windows
AWSRESTORE Command: Windows
CAPS Command: Windows
COLOR Command: Windows
COMMAND Command: Windows
CUT Command: Windows
DLGABOUT Command: Windows
DLGCDIR Command: Windows
DLGCOLUMNSIZE Command: Windows
DLGCOLUMNSORT Command: Windows
DLGCONVERT Command: Windows
DLGENDR Command: Windows
DLGFIND Command: Windows
DLGFONT Command: Windows
DLGLIB Command: Windows
DLGLINKS Command: Windows
DLGOPEN Command: Windows
DLGPAGESETUP Command: Windows
DLGPREF Command: Windows
DLGPRT Command: Windows
DLGPRTPREVIEW Command: Windows
DLGPRTSETUP Command: Windows
DLGREPLACE Command: Windows
DLGRUN Command: Windows
DLGSAVE Command: Windows
DLGSMAIL Command: Windows
FILE Command: Windows
FILEOPEN Command: Windows
FILL Command: Windows
GSUBMIT Command: Windows
HOME Command: Windows
ICON Command: Windows
INCLUDE Command: Windows
PMENU Command: Windows
SAVE Command: Windows
STORE Command: Windows
SUBTOP Command: Windows
TOOLCLOSE Command: Windows
TOOLEDIT Command: Windows
TOOLLARGE Command: Windows
TOOLLOAD Command: Windows
TOOLSWITCH Command: Windows
TOOLTIPS Command: Windows
WATTACH Command: Windows
WATTENTION Command: Windows
WAUTOSAVE Command: Windows
WBROWSE Command: Windows
WCOPY Command: Windows
WCUT Command: Windows
WDOCKVIEW Command: Windows
WDOCKVIEWMINIMIZE Command: Windows
WDOCKVIEWRESIZE Command: Windows
WDOCKVIEWRESTORE Command: Windows
WEDIT Command: Windows
WEMAILFMT Command: Windows
WEXITSAVE Command: Windows
WFILE Command: Windows
WHIDECURSOR Command: Windows
WHSBAR Command: Windows
WINSERT Command: Windows
WMENUPOP Command: Windows
WMRU Command: Windows
WNAVKEYUNMARK Command: Windows
WNEWTITLE Command: Windows
WNEXTEDIT Command: Windows
WPASTE Command: Windows
WPGM Command: Windows
WPOPUP Command: Windows
WRTFSAVE Command: Windows
WSCREENTIPS Command: Windows
WSTATUSLN Command: Windows
WUNDO Command: Windows
WVSBAR Command: Windows
WWINDOWBAR Command: Windows
X Command: Windows
ZOOM Command: Windows
SAS Formats under Windows
SAS Formats under Windows
Writing Binary Data
Accessing User-Written Formats from Earlier Releases to SAS 9.3
HEXw. Format: Windows
$HEXw. Format: Windows
IBw.d Format: Windows
PDw.d Format: Windows
PIBw.d Format: Windows
RBw.d Format: Windows
ZDw.d Format: Windows
SAS Functions and CALL Routines under Windows
SAS Functions and Call Routines under Windows
BYTE Function: Windows
CALL SOUND Routine: Windows
CALL SYSTEM Routine: Windows
COLLATE Function: Windows
DINFO Function: Windows
DOPEN Function: Windows
DOPTNAME Function: Windows
DOPTNUM Function: Windows
FDELETE Function: Windows
FEXIST Function: Windows
FILEEXIST Function: Windows
FILENAME Function: Windows
FILEREF Function: Windows
FINFO Function: Windows
FOPTNAME Function: Windows
FOPTNUM Function: Windows
LIBNAME Function: Windows
MCIPISLP Function: Windows
MCIPISTR Function: Windows
MODULE Function: Windows
PEEKLONG Function: Windows
RANK Function: Windows
SLEEP Function: Windows
TRANSLATE Function: Windows
WAKEUP Function: Windows
SAS Informats under Windows
SAS Informats under Windows
Reading Binary Data
Converting User-Written Informats from Earlier Releases to SAS 9.3
HEXw. Informat: Windows
$HEXw. Informat: Windows
IBw.d Informat: Windows
PDw.d Informat: Windows
PIBw.d Informat: Windows
RBw.d Informat: Windows
ZDw.d Informat: Windows
SAS Procedures under Windows
SAS Procedures under Windows
CATALOG Procedure: Windows
CIMPORT Procedure: Windows
CONTENTS Procedure: Windows
CONVERT Procedure: Windows
CPORT Procedure: Windows
DATASETS Procedure: Windows
OPTIONS Procedure: Windows
PMENU Procedure: Windows
PRINTTO Procedure: Windows
SORT Procedure: Windows
SAS Statements under Windows
SAS Statements under Windows
ABORT Statement: Windows
ATTRIB Statement: Windows
FILE Statement: Windows
FILENAME Statement: Windows
FOOTNOTE Statement: Windows
%INCLUDE Statement: Windows
INFILE Statement: Windows
LENGTH Statement: Windows
LIBNAME Statement: Windows
SYSTASK Statement: Windows
TITLE Statement: Windows
WAITFOR Statement: Windows
X Statement: Windows
SAS System Options under Windows
SAS System Options under Windows
Displaying SAS System Option Settings
Changing SAS System Option Settings
Processing System Options That Are Set in Several Places
Summary of System Options for Windows
ACCESSIBILITY System Option: Windows
ALTLOG System Option: Windows
ALTPRINT System Option: Windows
APPEND System Option: Windows
AUTHPROVIDERDOMAIN System Option: Windows
AUTHSERVER System Option: Windows
AUTOEXEC System Option: Windows
AWSCONTROL System Option: Windows
AWSDEF System Option: Windows
AWSMENU System Option: Windows
AWSMENUMERGE System Option: Windows
AWSTITLE System Option: Windows
BUFNO System Option: Windows
BUFSIZE System Option: Windows
CATCACHE System Option: Windows
CLEANUP System Option: Windows
COMDEF System Option: Windows
CONFIG System Option: Windows
DEVICE System Option: Windows
ECHO System Option: Windows
EMAILDLG System Option: Windows
EMAILSYS System Option: Windows
ENGINE System Option: Windows
ENHANCEDEDITOR System Option: Windows
FILELOCKWAITMAX= System Option: Windows
FILTERLIST System Option: Windows
FONT System Option: Windows
FONTALIAS System Option: Windows
FONTSLOC System Option: Windows
FORMCHAR System Option: Windows
FULLSTIMER System Option: Windows
HELPHOST System Option: Windows
HELPINDEX System Option: Windows
HELPLOC System Option: Windows
HELPREGISTER System Option: Windows
HELPTOC System Option: Windows
HOSTPRINT System Option: Windows
ICON System Option: Windows
INITSTMT System Option: Windows
INSERT System Option: Windows
JREOPTIONS System Option: Windows
LINESIZE System Option: Windows
LOADMEMSIZE System Option: Windows
LOG System Option: Windows
MAPS System Option: Windows
MAXMEMQUERY System Option: Windows
MEMBLKSZ System Option: Windows
MEMCACHE System Option: Windows
MEMLIB System Option: Windows
MEMMAXSZ System Option: Windows
MEMSIZE System Option: Windows
MSG System Option: Windows
MSGCASE System Option: Windows
MSYMTABMAX System Option: Windows
MVARSIZE System Option: Windows
NEWS System Option: Windows
NUMKEYS System Option: Windows
NUMMOUSEKEYS System Option: Windows
OBS System Option: Windows
PAGENO System Option: Windows
PAGESIZE System Option: Windows
PAPERTYPE System Option: Windows
PATH System Option: Windows
PFKEY System Option: Windows
PRIMARYPROVIDERDOMAIN= System Option: Windows
PRINT System Option: Windows
PRNGETLIST System Option: Windows
PRTABORTDLGS System Option: Windows
PRTPERSISTDEFAULT System Option: Windows
PRTSETFORMS System Option: Windows
REALMEMSIZE System Option: Windows
REGISTER System Option: Windows
RESOURCESLOC System Option: Windows
RSASUSER System Option: Windows
RTRACE System Option: Windows
RTRACELOC System Option: Windows
SASAUTOS System Option: Windows
SASCONTROL System Option: Windows
SASHELP System Option: Windows
SASINITIALFOLDER System Option: Windows
SASUSER System Option: Windows
SCROLLBARFLASH System Option: Windows
SET System Option: Windows
SGIO System Option: Windows
SLEEPWINDOW System Option: Windows
SORTANOM System Option: Windows
SORTCUT System Option: Windows
SORTCUTP System Option: Windows
SORTDEV System Option: Windows
SORTNAME System Option: Windows
SORTPARM System Option: Windows
SORTPGM System Option: Windows
SORTSIZE System Option: Windows
SPLASH System Option: Windows
SPLASHLOC System Option: Windows
STIMEFMT System Option: Windows
STIMER System Option: Windows
SYSGUIFONT System Option: Windows
SYSIN System Option: Windows
SYSPARM System Option: Windows
SYSPRINT System Option: Windows
SYSPRINTFONT System Option: Windows
TOOLDEF System Option: Windows
UNIVERSALPRINT System Option
UPRINTMENUSWITCH System Option: Windows
USER System Option: Windows
USERICON System Option: Windows
VERBOSE System Option: Windows
WEBUI System Option: Windows
WINDOWSMENU System Option: Windows
WORK System Option: Windows
XCMD System Option: Windows
XMIN System Option: Windows
XSYNC System Option: Windows
XWAIT System Option: Windows
Length and Precision of Variables under Windows
Length and Precision of Variables under Windows
Numeric Variables
Character Variables
SAS Macro Facility under Windows
SAS Macro Facility under Windows
Automatic Macro Variables
Macro Statements
Macro Functions
Autocall Libraries
Appendixes
SCL Methods for Automating OLE Objects under Windows
Summary of OLE Class Methods
_COMPUTE_
_DISABLE_DEFAULT_ACTION_
_DO_
_ENABLE_DEFAULT_ACTION_
_EXECUTE_
_GET_EVENT_
_GET_PROPERTY_
_GET_REFERENCE_ID_
_GET_TYPE_
_IN_ERROR_
_NEW_
_SET_PROPERTY_
_UPDATE_
Error Messages for SAS under Windows
Overview of SAS Error Messages
Return Codes and Completion Status
Accessing Files
Using SAS Features
Using OLE
Using Networks
Resolving Internal Errors
Resolving Operating System and Windows Error Messages
Initialization and Termination Error Messages
Graphics Considerations under Windows
Using TrueType Fonts with SAS/GRAPH Software
Default Key Settings for Interactive SAS Sessions under Windows
Default Key Definitions under Windows
Keyboard Shortcuts within the SAS Main Window
Keyboard Shortcuts within the Enhanced Editor
Keyboard Shortcuts within Print Preview
SAS Disk Cleanup Handler
The SAS Disk Cleanup Handler Utility
Using the Disk Cleanup Handler
Troubleshooting Java Runtime Environment Errors
Troubleshooting Java Runtime Environment Errors
Recommended Reading
Glossary
Product
Release
Base SAS
9.3
Type
Usage and Reference
Copyright Date
July 2011
Last Updated
14Oct2014