• Contents
  • About
  • Title Page
  • What's New in the SAS 9.3 Companion for UNIX Environments
  • About This Book
  • Running SAS Software Under UNIX
    • Getting Started with SAS in UNIX Environments
      • Starting SAS Sessions in UNIX Environments
      • Running SAS in a Foreground or Background Process
      • Selecting a Method of Running SAS in UNIX Environments
      • SAS Windowing Environment in UNIX Environments
      • Interactive Line Mode in UNIX Environments
      • Batch Mode in UNIX Environments
      • Running SAS on a Remote Host in UNIX Environments
      • X Command Line Options
      • Executing Operating System Commands from Your SAS Session
      • Customizing Your SAS Registry Files
      • Customizing Your SAS Session by Using System Options
      • Customizing Your SAS Session by Using Configuration and Autoexec Files
      • Defining Environment Variables in UNIX Environments
      • Specifying an Encoding for Pathnames on Disk
      • Determining the Completion Status of a SAS Job in UNIX Environments
      • Exiting or Interrupting Your SAS Session in UNIX Environments
      • Ending a Process That Is Running as a SAS Server
      • Interrupting a SAS Process and the Underlying DBMS Process
    • Using SAS Files
      • Introduction to SAS Files, Libraries, and Engines in UNIX Environments
      • Common Types of SAS Files in UNIX Environments
      • Filename Extensions and Member Types in UNIX Environments
      • Using Direct I/O
      • Holding a File in Memory: The SASFILE Statement
      • Sharing SAS Files in a UNIX Environment
      • Compatible Computer Types in UNIX Environments
      • Migrating 32-Bit SAS Files to 64-Bit in UNIX Environments
      • Creating a SAS File to Use with an Earlier Release
      • Reading SAS Files from Previous Releases or from Other Hosts
      • Referring to SAS Files by Using Librefs in UNIX Environments
      • Specifying Pathnames in UNIX Environments
      • Assigning a Libref to Several Directories (Concatenating Directories)
      • Using Multiple Engines for a Library in UNIX Environments
      • Using Environment Variables as Librefs in UNIX Environments
      • Librefs Assigned by SAS in UNIX Environments
      • Sasuser Library
      • Work Library
      • Multiple Work Directories
      • Using One-Level Names to Access Permanent Files (User Library)
      • Accessing Disk-Format Libraries in UNIX Environments
      • Accessing Sequential-Format Libraries in UNIX Environments
      • Accessing BMDP, OSIRIS, or SPSS Files in UNIX Environments
      • Support for Links in UNIX Environments
    • Using External Files and Devices
      • Introduction to External Files and Devices in UNIX Environments
      • Accessing an External File or Device in UNIX Environments
      • Specifying Pathnames in UNIX Environments
      • Assigning Filerefs to External Files or Devices with the FILENAME Statement
      • Concatenating Filenames in UNIX Environments
      • Assigning a Fileref to a Directory (Using Aggregate Syntax)
      • Using Environment Variables to Assign Filerefs in UNIX Environments
      • Filerefs Assigned by SAS in UNIX Environments
      • Reserved Filerefs in UNIX Environments
      • Sharing External Files in a UNIX Environment
      • Reading from and Writing to UNIX Commands (PIPE)
      • Sending Electronic Mail Using the FILENAME Statement (EMAIL)
    • Printing and Routing Output
      • Overview of Printing Output in UNIX Environments
      • Previewing Output in UNIX Environments
      • The Default Routings for the SAS Log and Procedure Output in UNIX Environments
      • Changing the Default Routings in UNIX Environments
      • Routing SAS Logging Facility Messages to SYSLOGD
      • Using the Print Dialog Box in UNIX Environments
      • Using Commands to Print in UNIX Environments
      • Using the PRINTTO Procedure in UNIX Environments
      • Using SAS System Options to Route Output
      • Printing Large Files with the PIPE Device Type in UNIX Environments
      • Changing the Default Print Destination in UNIX Environments
      • Changing the Default Print Command in UNIX Environments
      • Controlling the Content and Appearance of Output in UNIX Environments
    • Accessing Shared Executable Libraries from SAS
      • Overview of Shared Libraries in SAS
      • The SASCBTBL Attribute Table
      • Special Considerations When Using Shared Libraries
      • Examples of Accessing Shared Executable Libraries
    • Viewing Output and Help in the SAS Remote Browser
      • What Is Remote Browsing?
      • Using Remote Browsing with ODS Output
      • Installing the Remote Browser Server
      • System Options for Remote Browsing
      • Setting Up the SAS Remote Browser
      • Remote Browsing and Firewalls
  • SAS Windowing Environment
    • Working in the SAS Windowing Environment
      • Definition of the SAS Windowing Environment
      • Description of SAS in the X Environment
      • The SAS Session Manager (motifxsassm) in UNIX
      • Displaying Function Key Definitions in UNIX Environments
      • The SAS ToolBox in UNIX Environments
      • Opening Files in UNIX Environments
      • Changing Your Working Directory in UNIX Environments
      • Selecting (Marking) Text in UNIX Environments
      • Copying or Cutting and Pasting Selected Text in UNIX Environments
      • Using Drag and Drop in UNIX Environments
      • Searching for and Replacing Text Strings in UNIX Environments
      • Sending Mail from within Your SAS Session in UNIX Environments
      • Configuring SAS for Host Editor Support in UNIX Environments
      • Getting Help in UNIX Environments
    • Customizing the SAS Windowing Environment
      • Overview of Customizing SAS in X Environment
      • Overview of X Resources
      • Methods for Customizing X Resources
      • Modifying X Resources through the Preferences Dialog Box
      • Setting X Resources with the Resource Helper
      • Customizing Toolboxes and Toolsets in UNIX Environments
      • Customizing Key Definitions in UNIX Environments
      • Customizing Fonts in UNIX Environments
      • Customizing Colors in UNIX Environments
      • Controlling Drop-down Menus in UNIX Environments
      • Customizing Cut and Paste in UNIX Environments
      • Customizing Session Workspace, Session Gravity, and Window Sizes in UNIX Environments
      • Specifying User-Defined Icons in UNIX Environments
      • Miscellaneous Resources in UNIX Environments
      • Summary of X Resources for SAS in UNIX Environments
  • Application Considerations
    • Data Representation
      • Numeric Variable Length and Precision in UNIX Environments
      • Missing Values in UNIX Environments
      • Reading and Writing Binary Data in UNIX Environments
      • Converting a UNIX Datetime Value to a SAS Datetime Value
  • Host-Specific Features of the SAS Language
    • Commands under UNIX
      • SAS Commands under UNIX
      • AUTOSCROLL Command: UNIX
      • CAPS Command: UNIX
      • COLOR Command: UNIX
      • DLGABOUT Command: UNIX
      • DLGCDIR Command: UNIX
      • DLGENDR Command: UNIX
      • DLGFIND Command: UNIX
      • DLGFONT Command: UNIX
      • DLGOPEN Command: UNIX
      • DLGPREF Command: UNIX
      • DLGREPLACE Command: UNIX
      • DLGSAVE Command: UNIX
      • DLGSCRDUMP Command: UNIX
      • DLGSMAIL Command: UNIX
      • FILE Command: UNIX
      • FILL Command: UNIX
      • FONTLIST Command: UNIX
      • GSUBMIT Command: UNIX
      • HOME Command: UNIX
      • HOSTEDIT Command: UNIX
      • INCLUDE Command: UNIX
      • SETAUTOSAVE Command: UNIX
      • SETDMSFONT Command: UNIX
      • TOOLCLOSE Command: UNIX
      • TOOLEDIT Command: UNIX
      • TOOLLARGE Command: UNIX
      • TOOLLOAD Command: UNIX
      • TOOLTIPS Command: UNIX
      • WBROWSE Command: UNIX
      • WCOPY Command: UNIX
      • WCUT Command: UNIX
      • WDEF Command: UNIX
      • WPASTE Command: UNIX
      • WUNDO Command: UNIX
      • X Command: UNIX
      • XSYNC Command: UNIX
    • Data Set Options under UNIX
      • SAS Data Set Options under UNIX
      • Summary of SAS Data Set Options in UNIX Environments
      • ALTER= Data Set Option: UNIX
      • BUFNO= Data Set Option: UNIX
      • BUFSIZE= Data Set Option: UNIX
      • PW= Data Set Option: UNIX
      • USEDIRECTIO= Data Set Option: UNIX
    • Formats under UNIX
      • SAS Formats under UNIX
      • HEXw. Format: UNIX
      • $HEXw. Format: UNIX
      • IBw.d Format: UNIX
      • PDw.d Format: UNIX
      • PIBw.d Format: UNIX
      • RBw.d Format: UNIX
      • ZDw.d Format: UNIX
    • Functions and CALL Routines under UNIX
      • SAS Functions and CALL Routines under UNIX
      • BYTE Function: UNIX
      • CALL MODULE Routine: UNIX
      • CALL SLEEP Routine: UNIX
      • CALL SYSTEM Routine: UNIX
      • COLLATE Function: UNIX
      • DINFO Function: UNIX
      • DOPEN Function: UNIX
      • DOPTNAME Function: UNIX
      • DOPTNUM Function: UNIX
      • FDELETE Function: UNIX
      • FEXIST Function: UNIX
      • FILEEXIST Function: UNIX
      • FILENAME Function: UNIX
      • FILEREF Function: UNIX
      • FINFO Function: UNIX
      • FOPTNAME Function: UNIX
      • FOPTNUM Function: UNIX
      • MODEXIST Function: UNIX
      • MOPEN Function: UNIX
      • PATHNAME Function: UNIX
      • PEEKLONG Function: UNIX
      • RANK Function: UNIX
      • SYSGET Function: UNIX
      • TRANSLATE Function: UNIX
    • Informats under UNIX
      • SAS Informats under UNIX
      • HEXw. Informat: UNIX
      • $HEXw. Informat: UNIX
      • IBw.d Informat: UNIX
      • PDw.d Informat: UNIX
      • PIBw.d Informat: UNIX
      • RBw.d Informat: UNIX
      • ZDw.d Informat: UNIX
    • Macro Facility under UNIX
      • About the Macro Facility under UNIX
      • Automatic Macro Variables in UNIX Environments
      • Macro Statements in UNIX Environments
      • Macro Functions in UNIX Environments
      • SAS System Options Used by the Macro Facility in UNIX Environments
      • Using Autocall Libraries in UNIX Environments
    • Procedures under UNIX
      • SAS Procedures under UNIX
      • CATALOG Procedure: UNIX
      • CIMPORT Procedure: UNIX
      • CONTENTS Procedure: UNIX
      • CONVERT Procedure: UNIX
      • CPORT Procedure: UNIX
      • DATASETS Procedure: UNIX
      • OPTIONS Procedure: UNIX
      • PMENU Procedure: UNIX
      • PRINTTO Procedure: UNIX
      • SORT Procedure: UNIX
    • Statements under UNIX
      • SAS Statements under UNIX
      • ABORT Statement: UNIX
      • ATTRIB Statement: UNIX
      • FILE Statement: UNIX
      • FILENAME Statement: UNIX
      • FOOTNOTE Statement: UNIX
      • %INCLUDE Statement: UNIX
      • INFILE Statement: UNIX
      • LENGTH Statement: UNIX
      • LIBNAME Statement: UNIX
      • SYSTASK Statement: UNIX
      • TITLE Statement: UNIX
      • WAITFOR Statement: UNIX
      • X Statement: UNIX
    • System Options under UNIX
      • SAS System Options under UNIX
      • Determining How a SAS System Option Was Set
      • Restricted Options
      • Summary of All SAS System Options in UNIX Environments
      • ALTLOG System Option: UNIX
      • ALTPRINT System Option: UNIX
      • APPEND System Option: UNIX
      • AUTHPROVIDERDOMAIN: UNIX
      • AUTOEXEC System Option: UNIX
      • AUTOSAVELOC System Option: UNIX
      • BUFNO System Option: UNIX
      • BUFSIZE System Option: UNIX
      • CATCACHE System Option: UNIX
      • CLEANUP System Option: UNIX
      • CONFIG System Option: UNIX
      • DEVICE System Option: UNIX
      • ECHO System Option: UNIX
      • EDITCMD System Option: UNIX
      • EMAILSYS System Option: UNIX
      • ENGINE= System Option: UNIX
      • FILELOCKS System Option: UNIX
      • FILELOCKWAITMAX= System Option: UNIX
      • FMTSEARCH System Option: UNIX
      • FONTSLOC System Option: UNIX
      • FULLSTIMER System Option: UNIX
      • HELPHOST System Option: UNIX
      • HELPINDEX System Option: UNIX
      • HELPLOC System Option: UNIX
      • HELPTOC System Option: UNIX
      • INSERT System Option: UNIX
      • JREOPTIONS System Option: UNIX
      • LINESIZE System Option: UNIX
      • LOG System Option: UNIX
      • LPTYPE System Option: UNIX
      • MAPS System Option: UNIX
      • MAXMEMQUERY System Option: UNIX
      • MEMSIZE System Option: UNIX
      • MSG System Option: UNIX
      • MSGCASE System Option: UNIX
      • MSYMTABMAX System Option: UNIX
      • MVARSIZE System Option: UNIX
      • NEWS System Option: UNIX
      • OBS System Option: UNIX
      • OPLIST System Option: UNIX
      • PAGESIZE System Option: UNIX
      • PATH System Option: UNIX
      • PRIMARYPROVIDERDOMAIN System Option: UNIX
      • PRINT System Option: UNIX
      • PRINTCMD System Option: UNIX
      • REALMEMSIZE System Option: UNIX
      • RSASUSER System Option: UNIX
      • RTRACE System Option: UNIX
      • RTRACELOC System Option: UNIX
      • SASAUTOS System Option: UNIX
      • SASHELP System Option: UNIX
      • SASSCRIPT System Option: UNIX
      • SASUSER System Option: UNIX
      • SET System Option: UNIX
      • SORTANOM System Option: UNIX
      • SORTCUT System Option: UNIX
      • SORTCUTP System Option: UNIX
      • SORTDEV System Option: UNIX
      • SORTNAME System Option: UNIX
      • SORTPARM System Option: UNIX
      • SORTPGM System Option: UNIX
      • SORTSIZE System Option: UNIX
      • STDIO System Option: UNIX
      • STIMEFMT System Option: UNIX
      • STIMER System Option: UNIX
      • SYSIN System Option: UNIX
      • SYSPRINT System Option: UNIX
      • USER System Option: UNIX
      • VERBOSE System Option: UNIX
      • WORK System Option: UNIX
      • WORKINIT System Option: UNIX
      • WORKPERMS System Option: UNIX
      • XCMD System Option: UNIX
  • Appendixes
    • The !SASROOT Directory
      • Introduction to the !SASROOT Directory
      • Contents of the !SASROOT Directory
    • Tools for the System Administrator
      • The Utilities Directory in UNIX Environments
      • Installing Manual Pages
      • The UNIX Authentication API
      • Utilities in the /utilities/bin Directory
      • cleanwork command
    • Text Editing Commands
      • Text-Editing Commands
      • AUTOADD Command
      • AUTOFLOW Command
      • AUTOSCROLL Command
      • AUTOSPLIT Command
      • AUTOWRAP Command
      • BOUNDS Command
      • C Command
      • CAPS Command
      • CC Command
      • CCL Command
      • CCU Command
      • CL Command
      • CU Command
      • CURSOR Command
      • D Command
      • DD Command
      • DICT Command
      • FILL Command
      • I Command
      • INDENT Command
      • JC Command
      • JJC Command
      • JJL Command
      • JJR Command
      • JL Command
      • JR Command
      • KEYS Command
      • M Command
      • MASK Command
      • MM Command
      • NUMBERS Command
      • R Command
      • RESET Command
      • RR Command
      • > Command (Shift Right)
      • >> Command (Shift Right Block)
      • SPELL Command
      • TC Command
      • TF Command
      • TS Command
      • UNDO Command
      • < Command
      • << Command
      • > Command
      • >> Command
      • ( Command
      • (( Command
      • ) Command
      • )) Command
  • Recommended Reading
  • Glossary


ProductRelease
Base SAS9.3
Type
Usage and Reference
Copyright Date
July 2011
Last Updated
01Jul2015