Contents
About
Title Page
What's New in SAS 9.3 Companion for z/OS
About This Book
Running SAS Software under z/OS
Initializing and Configuring SAS Software
Invoking SAS in the z/OS Environment
Connecting to SAS under z/OS
Customizing Your SAS Session
HFS, UFS, and zFS Terminology
Specifying Physical Files
SAS Software Files
Transporting SAS Data Sets between Operating Environments
Accessing SAS Files in Other Operating Environments
Using Input/Output Features
Reserved z/OS ddnames
Using the SAS Remote Browser
Using Item Store Help Files
Exiting or Terminating Your SAS Session in the z/OS Environment
Solving Problems under z/OS
Support for SAS Software
Using SAS Libraries
Introduction
SAS Library Engines
SAS View Engines
Library Implementation Types for Base and Sequential Engines
Assigning SAS Libraries
Allocating External Files
Introduction to External Files
Ways of Allocating External Files
Using the FILENAME Statement or Function to Allocate External Files
Using the JCL DD Statement to Allocate External Files
Using the TSO Allocate Command to Allocate External Files
Allocating External Files on Tape
Allocating External Files to a Pipe
Allocating Generation Data Sets
Allocating Nonstandard External Files
Concatenating External Files
Displaying Information about External Files
Deallocating External Files
Accessing External Files
Referring to External Files
How SAS Determines Device Types
Writing to External Files
Reading from External Files
Accessing Nonstandard Files
Accessing UNIX System Services Files
Using Wildcards in UNIX System Services Filenames
Writing Your Own I/O Access Methods
Accessing SAS Statements from a Program
Using the INFILE/FILE User Exit Facility
Directing SAS Log and SAS Procedure Output
Types of SAS Output
Directing Output to External Files with the PRINTTO Procedure
Directing Output to External Files with System Options
Directing Output to External Files with the DMPRINT Command
Directing Output to External Files with the FILE Command
Directing Output to External Files with DD Statements
Directing Output to a Printer
Directing Output to a Remote Destination
Directing Procedure Output: ODS Examples
Sending E-Mail from within SAS Software
Using the SAS Logging Facility to Direct Output
Universal Printing
Introduction to Universal Printing
Using Universal Printing in the Windowing Environment
Using Universal Printing in a Batch Environment
Using FTP with Universal Printing
Example Programs and Summary
The SASLIB.HOUSES Data Set
SAS Windows and Commands in z/OS Environments
Windows in z/OS Environments
Overview of Windows in the z/OS Environment
Using the Graphical Interface
Terminal Support in the z/OS Environment
SAS System Options That Affect the z/OS Windowing Environment
Restrictions in SAS Software Support for UNIX System Services
Host-Specific Windows in the z/OS Environment
DSINFO Window
Explorer Window
FILENAME Window
FNAME Window
LIBASSIGN Window
LIBNAME Window
MEMLIST Window
Host-Specific Windows of the FORM Subsystem
Host-Specific Windows of the FORM Subsystem
SAS Window Commands under z/OS
Overview of Window Commands in the z/OS Environment
CLOCK Command
DFLTACTION Command
DLGENDR Command
EXPLODE Command
FILE Command
GCURSOR Command
HOSTEDIT Command
INCLUDE Command
NULLS Command
TSO Command
WBROWSE Command
WIDGNEXT Command
WIDGPREV Command
X Command
Application Considerations
SAS Interfaces to ISPF and REXX
SAS Interface to ISPF
SAS Interface to REXX
Using the INFILE/FILE User Exit Facility
Introduction
Writing a User Exit Module
Function Descriptions
SAS Service Routines
Building Your User Exit Module
Activating an INFILE/FILE User Exit
Sample Program
SAS Data Location Assist for z/OS
Overview of SAS Data Location Assist for z/OS
ZVOLLIST Function: z/OS
ZDSLIST Function: z/OS
ZDSNUM Function: z/OS
ZDSIDNM Function: z/OS
ZDSATTR Function: z/OS
ZDSXATT Function: z/OS
ZDSYATT Function: z/OS
Example: SAS DATA Step with zDLA Functions
Data Representation
Representation of Numeric Variables
Using the LENGTH Statement to Save Storage Space
How Character Values Are Stored
Host-Specific Features of the SAS Language
Data Set Options under z/OS
Data Set Options in the z/OS Environment
Summary of SAS Data Set Options in the z/OS Environment
ALTER= Data Set Option: z/OS
BUFSIZE= Data Set Option: z/OS
FILECLOSE= Data Set Option: z/OS
FILEDISP= Data Set Option: z/OS
Formats under z/OS
Formats in the z/OS Environment
Considerations for Using Formats in the z/OS Environment
BESTw. Format: z/OS
Ew. Format: z/OS
HEXw. Format: z/OS
IBw.d Format: z/OS
PDw.d Format: z/OS
RBw.d Format: z/OS
w.d Format: z/OS
ZDw.d Format: z/OS
Functions and CALL Routines under z/OS
Functions and CALL Routines under z/OS
ANYPUNCT Function: z/OS
CALL SLEEP Routine: z/OS
CALL SYSTEM Routine: z/OS
CALL TSO Routine: z/OS
CALL WTO Routine: z/OS
DINFO Function: z/OS
DOPEN Function: z/OS
DOPTNAME Function: z/OS
DOPTNUM Function: z/OS
DSNCATLGD Function: z/OS
FCLOSE Function: z/OS
FDELETE Function: z/OS
FEXIST Function: z/OS
FILEEXIST Function: z/OS
FILENAME Function: z/OS
FILEREF Function: z/OS
FINFO Function: z/OS
FOPEN Function: z/OS
FOPTNAME Function: z/OS
FOPTNUM Function: z/OS
KTRANSLATE Function: z/OS
MOPEN Function: z/OS
PATHNAME Function: z/OS
PEEKCLONG Function: z/OS
PEEKLONG Function: z/OS
SYSGET Function: z/OS
SYSTEM Function: z/OS
TRANSLATE Function: z/OS
TSO Function: z/OS
WTO Function: z/OS
Informats under z/OS
Informats in the z/OS Environment
Considerations for Using Informats under z/OS
Ew.d Informat: z/OS
HEXw. Informat: z/OS
IBw.d Informat: z/OS
PDw.d Informat: z/OS
RBw.d Informat: z/OS
ZDw.d Informat: z/OS
ZDBw.d Informat: z/OS
Macros under z/OS
Macros in the z/OS Environment
Automatic Macro Variables
Macro Statements
Macro Functions
Autocall Libraries
Stored Compiled Macro Facility
Other Host-Specific Aspects of the Macro Facility
%ISHCONV Macro: z/OS
Procedures under z/OS
Procedures in the z/OS Environment
BMDP Procedure: z/OS
CATALOG Procedure: z/OS
CIMPORT Procedure: z/OS
CONTENTS Procedure: z/OS
CONVERT Procedure: z/OS
CPORT Procedure: z/OS
DATASETS Procedure: z/OS
DBF Procedure: z/OS
FONTREG Procedure: z/OS
FORMAT Procedure: z/OS
ITEMS Procedure: z/OS
OPTIONS Procedure: z/OS
PDS Procedure: z/OS
PDSCOPY Procedure: z/OS
PMENU Procedure: z/OS
PRINT Procedure: z/OS
PRINTTO Procedure: z/OS
RELEASE Procedure: z/OS
SORT Procedure: z/OS
SOURCE Procedure: z/OS
TAPECOPY Procedure: z/OS
TAPELABEL Procedure: z/OS
Statements under z/OS
Statements in the z/OS Environment
ABORT Statement: z/OS
ATTRIB Statement: z/OS
CARDS Statement: z/OS
DSNEXST Statement: z/OS
FILE Statement: z/OS
FILENAME Statement: z/OS
FOOTNOTE Statement: z/OS
%INCLUDE Statement: z/OS
INFILE Statement: z/OS
LENGTH Statement: z/OS
LIBNAME Statement: z/OS
OPTIONS Statement: z/OS
SASFILE Statement: z/OS
SYSTASK LIST Statement: z/OS
TITLE Statement: z/OS
TSO Statement: z/OS
WAITFOR Statement: z/OS
X Statement: z/OS
System Options under z/OS
System Options in the z/OS Environment
Definition of System Options
Summary Table of SAS System Options
ALTLOG= System Option: z/OS
ALTPRINT= System Option: z/OS
APPEND= System Option: z/OS
APPLETLOC= System Option: z/OS
ARMAGENT= System Option: z/OS
ASYNCHIO System Option: z/OS
AUTHPROVIDERDOMAIN System Option: z/OS
AUTOEXEC= System Option: z/OS
BLKALLOC System Option: z/OS
BLKSIZE= System Option: z/OS
BLKSIZE(device-type)= System Option: z/OS
CAPSOUT System Option: z/OS
CARDIMAGE System Option: z/OS
CATCACHE= System Option: z/OS
CHARTYPE= System Option: z/OS
CLIENTWORK System Option: z/OS
CLIST System Option: z/OS
CONFIG= System Option: z/OS
DEVICE= System Option: z/OS
DLCREATEDIR System Option: z/OS
DLDISPCHG System Option: z/OS
DLDSNTYPE System Option: z/OS
DLEXCPCOUNT System Option: z/OS
DLMSGLEVEL= System Option: z/OS
DLSEQDSNTYPE System Option: z/OS
DLTRUNCHK System Option: z/OS
DSRESV System Option: z/OS
DYNALLOC System Option: z/OS
ECHO= System Option: z/OS
EMAILSYS= System Option: z/OS
ENGINE= System Option: z/OS
ERRORABEND System Option: z/OS
FILEAUTHDEFER System Option: z/OS
FILEBLKSIZE(device-type)= System Option: z/OS
FILECC System Option: z/OS
FILEDEST= System Option: z/OS
FILEDEV= System Option: z/OS
FILEDIRBLK= System Option: z/OS
FILEEXT= System Option: z/OS
FILEFORMS= System Option: z/OS
FILELBI System Option: z/OS
FILELOCKS= System Option: z/OS
FILEMOUNT System Option: z/OS
FILEMSGS System Option: z/OS
FILENULL System Option: z/OS
FILEPROMPT System Option: z/OS
FILEREUSE System Option: z/OS
FILESEQDSNTYPE System Option: z/OS
FILESPPRI= System Option: z/OS
FILESPSEC= System Option: z/OS
FILESTAT System Option: z/OS
FILESYNC= System Option: z/OS
FILESYSOUT= System Option: z/OS
FILESYSTEM= System Option: z/OS
FILETEMPDIR System Option: z/OS
FILEUNIT= System Option: z/OS
FILEVOL= System Option: z/OS
FILSZ System Option: z/OS
FONTRENDERING= System Option: z/OS
FONTSLOC= System Option: z/OS
FSBCOLOR System Option: z/OS
FSBORDER= System Option: z/OS
FSDEVICE= System Option: z/OS
FSMODE= System Option: z/OS
FULLSTATS System Option: z/OS
GHFONT= System Option: z/OS
HELPCASE System Option: z/OS
HELPHOST System Option: z/OS
HELPLOC= System Option: z/OS
HSLXTNTS= System Option: z/OS
HSMAXPGS= System Option: z/OS
HSMAXSPC= System Option: z/OS
HSSAVE System Option: z/OS
HSWORK System Option: z/OS
INSERT= System Option: z/OS
ISPCAPS System Option: z/OS
ISPCHARF System Option: z/OS
ISPCSR= System Option: z/OS
ISPEXECV= System Option: z/OS
ISPMISS= System Option: z/OS
ISPMSG= System Option: z/OS
ISPNOTES System Option: z/OS
ISPNZTRC System Option: z/OS
ISPPT System Option: z/OS
ISPTRACE System Option: z/OS
ISPVDEFA System Option: z/OS
ISPVDLT System Option: z/OS
ISPVDTRC System Option: z/OS
ISPVIMSG= System Option: z/OS
ISPVRMSG= System Option: z/OS
ISPVTMSG= System Option: z/OS
ISPVTNAM= System Option: z/OS
ISPVTPNL= System Option: z/OS
ISPVTRAP System Option: z/OS
ISPVTVARS= System Option: z/OS
JREOPTIONS= System Option: z/OS
LINESIZE= System Option: z/OS
LOG= System Option: z/OS
LOGPARM= System Option: z/OS
LRECL= System Option: z/OS
MEMLEAVE= System Option: z/OS
MEMRPT System Option: z/OS
MEMSIZE= System Option: z/OS
METAPROFILE= System Option: z/OS
MINSTG System Option: z/OS
MSG= System Option: z/OS
MSGCASE System Option: z/OS
MSGSIZE= System Option: z/OS
MSYMTABMAX= System Option: z/OS
MVARSIZE= System Option: z/OS
OPLIST System Option: z/OS
PAGEBREAKINITIAL System Option: z/OS
PAGESIZE= System Option: z/OS
PARMCARDS= System Option: z/OS
PFKEY= System Option: z/OS
PGMPARM= System Option: z/OS
PRIMARYPROVIDERDOMAIN System Option: z/OS
PRINT= System Option: z/OS
PRINTINIT System Option: z/OS
PROCLEAVE= System Option: z/OS
REALMEMSIZE= System Option: z/OS
REXXLOC= System Option: z/OS
REXXMAC System Option: z/OS
SASAUTOS= System Option: z/OS
SASHELP= System Option: z/OS
SASLIB= System Option: z/OS
SASSCRIPT System Option: z/OS
SASUSER= System Option: z/OS
SEQENGINE= System Option: z/OS
SET= System Option: z/OS
SORT= System Option: z/OS
SORTALTMSGF System Option: z/OS
SORTBLKMODE System Option: z/OS
SORTBUFMOD System Option: z/OS
SORTCUTP= System Option: z/OS
SORTDEV= System Option: z/OS
SORTDEVWARN System Option: z/OS
SORTEQOP System Option: z/OS
SORTLIB= System Option: z/OS
SORTLIST System Option: z/OS
SORTMSG System Option: z/OS
SORTMSG= System Option: z/OS
SORTNAME= System Option: z/OS
SORTOPTS System Option: z/OS
SORTPARM= System Option: z/OS
SORTPGM= System Option: z/OS
SORTSHRB System Option: z/OS
SORTSIZE= System Option: z/OS
SORTSUMF System Option: z/OS
SORTUADCON System Option: z/OS
SORTUNIT= System Option: z/OS
SORTWKDD= System Option: z/OS
SORTWKNO= System Option: z/OS
SORT31PL System Option: z/OS
STAE System Option: z/OS
STATS System Option: z/OS
STAX System Option: z/OS
STEPCHKPTLIB= System Option: z/OS
STIMER System Option: z/OS
SVC11SCREEN System Option: z/OS
SYNCHIO System Option: z/OS
SYSIN= System Option: z/OS
SYSINP= System Option: z/OS
SYSLEAVE= System Option: z/OS
SYSPREF= System Option: z/OS
SYSPRINT= System Option: z/OS
S99NOMIG System Option: z/OS
TAPECLOSE= System Option: z/OS
USER= System Option: z/OS
UTILLOC= System Option: z/OS
V6GUIMODE System Option: z/OS
VALIDMEMNAME= System Option: z/OS
VERBOSE System Option: z/OS
WORK= System Option: z/OS
WORKTERM System Option: z/OS
WTOUSERDESC= System Option: z/OS
WTOUSERMCSF= System Option: z/OS
WTOUSERROUT= System Option: z/OS
XCMD System Option: z/OS
Optimizing Performance
Introduction to Optimizing Performance
Collecting Performance Statistics
Optimizing SAS I/O
Efficient Sorting
Some SAS System Options That Can Affect Performance
Managing Memory
Loading SAS Modules Efficiently
Other Considerations for Improving Performance
Appendixes
Starting SAS with SASRX
Overview of SASRX
Option Syntax
SASRX Options
Site Customizations
Encoding for z/OS Resource Names
Overview of Encoding for z/OS Resource Names
z/OS Resource Names and Encoding
Reverting to SAS 9.2 Behavior
64–Bit SAS Metadata Server
Overview of the SAS Metadata Server
Advantages of 64-Bit SAS Metadata Server
Accessing BMDP, SPSS, and OSIRIS Files
The BMDP, SPSS, and OSIRIS Engines
Accessing BMDP Files
Accessing OSIRIS Files
Accessing SPSS Files
The cleanwork Utility
Overview of the cleanwork Utility
Installing the cleanwork Utility
Configuring the cleanwork Utility
See Also
Host-System Subgroup Error Messages
Host-System Subgroup Error Messages in the z/OS Environment
Messages from the SASCP Command Processor
Messages from the TSO Command Executor
Messages from the Internal CALL Command Processor
Recommended Reading
Glossary
Product
Release
Base SAS
9.3_M2
Type
Usage and Reference
Copyright Date
August 2012
Last Updated
28Aug2012