• Contents
  • About
  • What's New in the SAS 9.2 Companion for Windows
  • Running SAS under Windows
    • Getting Started
      • 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
    • Using the SAS Interface
      • Overview of the SAS Interface
      • Working within Your SAS Session
      • Customizing Your SAS Session
      • Accessing Online Help and Documentation
      • Accessibility Features in SAS under Windows
    • Using the SAS Editors
      • Using the Enhanced Editor
      • Using the Program Editor
    • Using SAS Files
      • 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.2 for Windows
      • Using SAS 9.2 Files with Previous Releases
      • Using Remote Host SAS Files in SAS 9.2
      • 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
      • 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
      • 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 to the Windows Event Viewer
      • Producing Graphics
    • Performance Considerations
      • 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 with SAS
      • Introduction to Using Lotus Notes with SAS
      • Populating a Lotus Notes Database Using the DATA Step and SCL Code
    • Using Windows Tools with SAS
      • 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
      • 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 DDE
      • Overview of Dynamic Data Exchange (DDE)
      • DDE Syntax within SAS
      • Referencing the DDE External File
      • DDE Examples
    • Using Pipes
      • Overview of Pipes
      • Using Unnamed Pipes
      • Using Named Pipes
    • Accessing External DLLs from SAS
      • Overview of Dynamic Link Libraries in SAS
      • The SASCBTBL Attribute Table
      • Special Considerations When Using External DLLs
      • Examples
    • Special Considerations
      • 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
      • Incorporating Electronic Mail into Your SAS/AF Application
  • Features of the SAS Language for Windows
    • Data Set Options
      • SAS Data Set Options under Windows
      • SGIO Data Set Option
    • Commands under Windows
      • SAS Commands under Windows
      • AUTOSCROLL Command
      • AWSMAXIMIZE Command
      • AWSMINIMIZE Command
      • AWSRESTORE Command
      • CAPS Command
      • COLOR Command
      • COMMAND Command
      • CUT Command
      • DLGABOUT Command
      • DLGCDIR Command
      • DLGCOLUMNSIZE Command
      • DLGCOLUMNSORT Command
      • DLGCONVERT Command
      • DLGENDR Command
      • DLGFIND Command
      • DLGFONT Command
      • DLGLIB Command
      • DLGLINKS Command
      • DLGOPEN Command
      • DLGPAGESETUP Command
      • DLGPREF Command
      • DLGPRT Command
      • DLGPRTPREVIEW Command
      • DLGPRTSETUP Command
      • DLGREPLACE Command
      • DLGRUN Command
      • DLGSAVE Command
      • DLGSMAIL Command
      • FILE Command
      • FILEOPEN Command
      • FILL Command
      • GSUBMIT Command
      • HOME Command
      • ICON Command
      • INCLUDE Command
      • PMENU Command
      • SAVE Command
      • STORE Command
      • SUBTOP Command
      • TOOLCLOSE Command
      • TOOLEDIT Command
      • TOOLLARGE Command
      • TOOLLOAD Command
      • TOOLSWITCH Command
      • TOOLTIPS Command
      • WATTACH Command
      • WATTENTION Command
      • WAUTOSAVE Command
      • WBROWSE Command
      • WCOPY Command
      • WCUT Command
      • WDOCKVIEW Command
      • WDOCKVIEWMINIMIZE Command
      • WDOCKVIEWRESIZE Command
      • WDOCKVIEWRESTORE Command
      • WEDIT Command
      • WEMAILFMT Command
      • WEXITSAVE Command
      • WFILE Command
      • WHIDECURSOR Command
      • WHSBAR Command
      • WINSERT Command
      • WMENUPOP Command
      • WMRU Command
      • WNAVKEYUNMARK Command
      • WNEWTITLE Command
      • WNEXTEDIT Command
      • WPASTE Command
      • WPGM Command
      • WPOPUP Command
      • WRTFSAVE Command
      • WSCREENTIPS Command
      • WSTATUSLN Command
      • WUNDO Command
      • WVSBAR Command
      • WWINDOWBAR Command
      • X Command
      • ZOOM Command
    • Formats under Windows
      • SAS Formats under Windows
      • Writing Binary Data
      • Accessing User-Written Formats from Earlier Releases to SAS 9.2
      • HEXw. Format
      • $HEXw. Format
      • IBw.d Format
      • PDw.d Format
      • PIBw.d Format
      • RBw.d Format
      • ZDw.d Format
    • Functions and CALL Routines under Windows
      • SAS Functions and Call Routines under Windows
      • BYTE Function
      • CALL SOUND Routine
      • CALL SYSTEM Routine
      • COLLATE Function
      • DINFO Function
      • DOPEN Function
      • DOPTNAME Function
      • DOPTNUM Function
      • FDELETE Function
      • FEXIST Function
      • FILEEXIST Function
      • FILENAME Function
      • FILEREF Function
      • FINFO Function
      • FOPTNAME Function
      • FOPTNUM Function
      • LIBNAME Function
      • MCIPISLP Function
      • MCIPISTR Function
      • MODULE Function
      • PEEKLONG Function
      • RANK Function
      • SLEEP Function
      • TRANSLATE Function
      • WAKEUP Function
    • Informats under Windows
      • SAS Informats under Windows
      • Reading Binary Data
      • Converting User-Written Informats from Earlier Releases to SAS 9.2
      • HEXw. Informat
      • $HEXw. Informat
      • IBw.d Informat
      • PDw.d Informat
      • PIBw.d Informat
      • RBw.d Informat
      • ZDw.d Informat
    • Procedures under Windows
      • SAS Procedures under Windows
      • CATALOG Procedure
      • CIMPORT Procedure
      • CONTENTS Procedure
      • CONVERT Procedure
      • CPORT Procedure
      • DATASETS Procedure
      • OPTIONS Procedure
      • PMENU Procedure
      • PRINTTO Procedure
      • SORT Procedure
    • Statements under Windows
      • SAS Statements under Windows
      • 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 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
      • ALTLOG System Option
      • ALTPRINT System Option
      • APPEND System Option
      • AUTHPROVIDERDOMAIN System Option
      • AUTHSERVER System Option
      • AUTOEXEC System Option
      • AWSCONTROL System Option
      • AWSDEF System Option
      • AWSMENU System Option
      • AWSMENUMERGE System Option
      • AWSTITLE System Option
      • BUFNO System Option
      • BUFSIZE System Option
      • CATCACHE System Option
      • CLEANUP System Option
      • COMDEF System Option
      • CONFIG System Option
      • DEVICE System Option
      • ECHO System Option
      • EMAILDLG System Option
      • EMAILSYS System Option
      • ENGINE System Option
      • ENHANCEDEDITOR System Option
      • FILELOCKWAITMAX= System Option
      • FILTERLIST System Option
      • FONT System Option
      • FONTALIAS System Option
      • FONTSLOC System Option
      • FORMCHAR System Option
      • FULLSTIMER System Option
      • HELPHOST System Option
      • HELPINDEX System Option
      • HELPLOC System Option
      • HELPREGISTER System Option
      • HELPTOC System Option
      • HOSTPRINT System Option
      • ICON System Option
      • INITSTMT System Option
      • INSERT System Option
      • JREOPTIONS System Option
      • LINESIZE System Option
      • LOADMEMSIZE System Option
      • LOG System Option
      • MAPS System Option
      • MAXMEMQUERY System Option
      • MEMBLKSZ System Option
      • MEMCACHE System Option
      • MEMLIB System Option
      • MEMMAXSZ System Option
      • MEMSIZE System Option
      • MSG System Option
      • MSGCASE System Option
      • MSYMTABMAX System Option
      • MVARSIZE System Option
      • NEWS System Option
      • NUMKEYS System Option
      • NUMMOUSEKEYS System Option
      • OBS System Option
      • PAGENO System Option
      • PAGESIZE System Option
      • PAPERTYPE System Option
      • PATH System Option
      • PFKEY System Option
      • PRIMARYPROVIDERDOMAIN=
      • PRINT System Option
      • PRNGETLIST System Option
      • PRTABORTDLGS System Option
      • PRTPERSISTDEFAULT System Option
      • PRTSETFORMS System Option
      • REALMEMSIZE System Option
      • REGISTER System Option
      • RESOURCESLOC System Option
      • RSASUSER System Option
      • RTRACE System Option
      • RTRACELOC System Option
      • SASAUTOS System Option
      • SASCONTROL System Option
      • SASHELP System Option
      • SASINITIALFOLDER System Option
      • SASUSER System Option
      • SCROLLBARFLASH System Option
      • SET System Option
      • SGIO System Option
      • SLEEPWINDOW System Option
      • SORTANOM System Option
      • SORTCUT System Option
      • SORTCUTP System Option
      • SORTDEV System Option
      • SORTNAME System Option
      • SORTPARM System Option
      • SORTPGM System Option
      • SORTSIZE System Option
      • SPLASH System Option
      • SPLASHLOC System Option
      • STIMEFMT System Option
      • STIMER System Option
      • SYSGUIFONT System Option
      • SYSIN System Option
      • SYSPARM System Option
      • SYSPRINT System Option
      • SYSPRINTFONT System Option
      • TOOLDEF System Option
      • UPRINTMENUSWITCH System Option
      • USER System Option
      • USERICON System Option
      • VERBOSE System Option
      • WEBUI System Option
      • WINDOWSMENU System Option
      • WORK System Option
      • XCMD System Option
      • XMIN System Option
      • XSYNC System Option
      • XWAIT System Option
    • Length and Precision of Variables
      • Length and Precision of Variables under Windows
      • Numeric Variables
      • Character Variables
    • 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
      • 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
      • Using TrueType Fonts with SAS/GRAPH Software
    • Default Key Settings
      • 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
    • Recommended Reading
  • Glossary


ProductRelease
Base SAS9.2
Type
Usage and Reference
Copyright Date
May 2010
Last Updated
22Apr2010