Contents
About
What's New in the SAS 9.2 Companion for UNIX Environments
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
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
Ending a SAS Process on a Relational Database
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)
Processing Files on TAPE in UNIX Environments
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 from SAS
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
HELPHOST System Option
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
Host-Specific Features of the SAS Language
Commands under UNIX
SAS Commands under UNIX
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
DLGSMAIL Command
FILE Command
FILL Command
FONTLIST Command
GSUBMIT Command
HOME Command
HOSTEDIT Command
INCLUDE Command
SETAUTOSAVE Command
SETDMSFONT Command
TOOLCLOSE Command
TOOLEDIT Command
TOOLLARGE Command
TOOLLOAD Command
TOOLTIPS Command
WBROWSE Command
WCOPY Command
WCUT Command
WDEF Command
WPASTE Command
WUNDO Command
X Command
XSYNC Command
Data Set Options under UNIX
SAS Data Set Options under UNIX
Summary of SAS Data Set Options in UNIX Environments
ALTER= Data Set Option
BUFNO= Data Set Option
BUFSIZE= Data Set Option
FILECLOSE= Data Set Option
PW= Data Set Option
USEDIRECTIO= Data Set Option
Formats under UNIX
SAS Formats under UNIX
HEXw. Format
$HEXw. Format
IBw.d Format
PDw.d Format
PIBw.d Format
RBw.d Format
ZDw.d Format
Functions and CALL Routines under UNIX
SAS Functions and CALL Routines under UNIX
BYTE Function
CALL MODULE Routine
CALL SLEEP 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
MODEXIST Function
MOPEN Function
PATHNAME Function
PEEKLONG Function
RANK Function
SYSGET Function
TRANSLATE Function
Informats under UNIX
SAS Informats under UNIX
HEXw. Informat
$HEXw. Informat
IBw.d Informat
PDw.d Informat
PIBw.d Informat
RBw.d Informat
ZDw.d Informat
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
CIMPORT Procedure
CONTENTS Procedure
CONVERT Procedure
CPORT Procedure
DATASETS Procedure
OPTIONS Procedure
PMENU Procedure
PRINTTO Procedure
SORT Procedure
Statements under UNIX
SAS Statements under UNIX
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 UNIX
SAS System Options under UNIX
Determining How a System Option Was Set
Summary of All SAS System Options in UNIX Environments
ALTLOG System Option
ALTPRINT System Option
APPEND System Option
AUTHPROVIDERDOMAIN
AUTOEXEC System Option
AUTOSAVELOC System Option
BUFNO System Option
BUFSIZE System Option
CATCACHE System Option
CLEANUP System Option
CONFIG System Option
DEVICE System Option
ECHO System Option
EDITCMD System Option
EMAILSYS System Option
ENGINE System Option
FILELOCKS System Option
FILELOCKWAITMAX= System Option
FMTSEARCH System Option
FONTSLOC System Option
FULLSTIMER System Option
HELPHOST System Option
HELPINDEX System Option
HELPLOC System Option
HELPTOC System Option
INSERT System Option
JREOPTIONS System Option
LINESIZE System Option
LOG System Option
LPTYPE System Option
MAPS System Option
MAXMEMQUERY 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
PAGESIZE System Option
PATH System Option
PRIMARYPROVIDERDOMAIN= System Option
PRINT System Option
PRINTCMD System Option
REALMEMSIZE System Option
RSASUSER System Option
RTRACE System Option
RTRACELOC System Option
SASAUTOS System Option
SASHELP System Option
SASSCRIPT System Option
SASUSER System Option
SET 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
STDIO System Option
STIMEFMT System Option
STIMER System Option
SYSIN System Option
SYSPRINT System Option
USER System Option
VERBOSE System Option
WORK System Option
WORKINIT System Option
WORKPERMS System Option
XCMD System Option
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
patchname Command
Commands That Are Not Specific to UNIX
Commands That Are Not Specific to UNIX
AUTOADD Command
AUTOFLOW Command
AUTOSPLIT Command
AUTOWRAP Command
BOUNDS Command
C Command
CC Command
CAPS Command
CL Command
CCL Command
CU Command
CCU Command
CURSOR Command
D Command
DD Command
DICT Command
FILL Command
I Command
INDENT Command
JC Command
JJC Command
JL Command
JJL Command
JR Command
JJR Command
KEYS Command
M Command
MM Command
MASK Command
NUMBERS Command
R Command
RR Command
RESET Command
SPELL Command
TC Command
TF Command
TS Command
UNDO Command
( Command
(( Command
) Command
)) Command
Shift Left Command
Shift Left Block Command
Shift Right Command
Shift Right Block Command
Recommended Reading
Glossary
Product
Release
Base SAS
9.2
9.1.3
9.1.2
9.1
Type
Usage and Reference
Copyright Date
February 2009
Last Updated
20Nov2008