SAS 9.1 Companion for UNIX Environments ISBN:1590472101 by SAS Institute SAS Publishing © 2004 (435 pages) This valuable reference tool describes the features of the SAS language and SAS interface that are available only on UNIX or that behave differently on UNIX than on other platforms Table of Contents SAS 9.1 Companion for UNIX Environments What's New Part 1 - Running SAS Software Under UNIX Getting Started with SAS in UNIX Environments Working in the SAS Windowing Environment Customizing the SAS Windowing Environment - Using SAS Files - Using External Files and Devices - Printing and Routing Output Accessing Shared Executable Libraries From SAS Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Part 2 - Application Considerations Chapter 8 - Data Representation Part 3 - Host-Specific Features of the SAS Language Chapter 9 - Commands Under UNIX Chapter 10 - Data Set Options Under UNIX Chapter 11 - Formats Under Unix Chapter 12 - Functions and CALL Routines Under UNIX Chapter 13 - Informats Under UNIX Chapter 14 - Macro Facility Under UNIX Chapter 15 - Procedures Under Unix Chapter 16 - Statements Under Unix Chapter 17 - System Options Under UNIX Part 4 - Appendices Appendix 1 - The !SASROOT Directory Appendix 2 - Tools for the System Administrator Appendix 3 - Using SSL in UNIX Environments Appendix 4 - SAS Releases in UNIX Environments Appendix 5 - Recommended Reading Glossary Index List of Displays List of Tables List of Outputs Back Cover Designed for users of SAS in the UNIX environment, this companion is a valuable reference tool This documentation describes the features of the SAS language and SAS interface that are available only on UNIX or that behave differently on UNIX than on other platforms You will learn basic X window concepts, how they relate to SAS, and how to use X resources to customize your SAS session Additional topics include: working in and customizing the SAS windowing environment using SAS files using external files and devices as sources of input and as receivers of output printing and routing SAS output accessing shared executable libraries from SAS A reference section also describes the SAS language features, such as data set options, procedures, and system options, that have aspects specific to UNIX SAS 9.1 Companion for UNIX Environments SAS Publishing The Power to Know® The correct bibliographic citation for this manual is as follows: SAS Institute Inc 2004 SAS ® 9.1 Companion for UNIX Environments Cary, NC: SAS Institute Inc Copyright © 2004, SAS Institute Inc., Cary, NC, USA 1-59047-210-1 ISBN 1-59047-410-4 All rights reserved Produced in the United States of America Your use of this e-book shall be governed by the terms established by the vendor at the time you acquire this e-book U.S Government Restricted Rights Notice Use, duplication, or disclosure of this software and related documentation by the U.S government is subject to the Agreement with SAS Institute and the restrictions set forth in FAR 52.227-19 Commercial Computer SoftwareRestricted Rights (June 1987) SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513 1st printing, January 2004 SAS Publishing provides a complete selection of books and electronic products to help customers use SAS software to its fullest potential For more information about our e-books, e-learning products, CDs, and hardcopy books, visit the SAS Publishing Web site at support.sas.com/pubs or call 1-800-727-3228 SAS® and all other SAS Institute Inc product or service names are registered trademarks or trademarks of SAS Institute Inc in the USA and other countries ® indicates USA registration Other brand and product names are registered trademarks or trademarks of their respective companies What's New Overview New and enhanced features for Base SAS improve ease of use and SAS performance under the UNIX operating environment: SAS for the AIX, HP-UX, and Solaris operating environments is 64-bit only SMTP (Simple Mail Transfer Protocol) is now the default mail handler Sharing files between UNIX and Windows has been simplified Using the MODULE family of SAS functions and CALL routines, you can invoke a routine that resides in an external shared library from within SAS Universal Printing is the new default printing mechanism SAS does not support host printing functionality Notes This section describes the features of SAS software under the UNIX operating environment that are new or enhanced since SAS 8.2 z/OS is the successor to the OS/390 operating system Throughout this document, any reference to z/OS also applies to OS/390, unless otherwise stated Migrating 32-Bit SAS Files to 64-Bit SAS Files Starting in SAS 9, SAS for the AIX, HP-UX, and Solaris operating environments is 64-bit only Consequently, some SAS files (such as your SAS catalogs) that were created in 32-bit releases of SAS cannot be read by the V9 engine You can read and write to your 32-bit SAS data sets, SAS/ACCESS views from Oracle or SYBASE, SQL views, or MDDB files from a 64-bit SAS session using CEDA However, you cannot update these files For more information, see "Migrating 32-Bit SAS Files to 64-Bit in UNIX Environments" on page 106 You can use the MIGRATE procedure to convert all of your SAS files to 64-bit For more information about the MIGRATE procedure, see the Migration Community at support.sas.com/rnd/migration Note If you use Remote Library Services (RLS) to access SAS files on a server, see the SAS/CONNECT User's Guide for information about accessing Version 6 SAS files Accessing SAS Files From Previous Releases On the 64-bit AIX, HP-UX, and Solaris platforms, the V6 and V6TAPE read-only engines provide read-only access to your Release 6.12 data sets See SAS Language Reference: Concepts for more information about the compatibility of V6 files with SAS 9.1 With the Tru64 and Linux platforms, you still have read and write access to your Release 6.12 data sets For more information about compatibility issues, see "Accessing SAS Files across Compatible Machine Types in UNIX Environments" on page 108 Restricted System Options Your site administrator can specify SAS system options for your site, a specific group, or an individual user in a restricted configuration file Because these options are restricted, you cannot change the specified value Use the new RESTRICT option in the OPTIONS procedure to see all the system options that have been restricted For more information about how SAS processes the restricted configuration file, see "Order of Precedence for SAS Configuration Files" on page 17 For information about creating a restricted configuration file, see the SAS System Configuration Guide for UNIX Chapter 8: Data Representation Table 8.1: Significant Digits and Largest Integer by Length for SAS Variables under UNIX Chapter 10: Data Set Options Under UNIX Table 10.1: Summary of SAS Data Set Options Chapter 16: Statements Under Unix Table 16.1: Device Information in the FILENAME Statement Table 16.2: Engine Names and Descriptions Chapter 17: System Options Under UNIX Table 17.1: Description of FULLSTIMER Statistics Table 17.2: Description of STIMER Statistics Table 17.3: Summary of All SAS System Options Appendix 1: The !SASROOT Directory Table A1.1: SAS Files in the !SASROOT Directory Table A1.2: SAS Directories in the !SASROOT Directory Appendix 2: Tools for the System Administrator Table A2.1: Tools for the System Administrator Appendix 3: Using SSL in UNIX Environments Table A3.1: Open SSL Commands for Requesting a Digital Certificate Table A3.2: Arguments and Values Used in OpenSSL Commands Table A3.3: OpenSSL Commands for Generating Digital Certificates under UNIX Table A3.4: Arguments and Values Used in OpenSSL Commands on UNIX Appendix 4: SAS Releases in UNIX Environments Table A4.1: SAS Releases in UNIX Environments List of Outputs Chapter 4: Using SAS Files Output 4.1: Portion of PROC CONTENTS Output Using the V9 Engine Chapter 7: Accessing Shared Executable Libraries From SAS Output 7.1: Log Output for Accessing Character Strings with the PEEKCLONG Function Output 7.2: Grouping SAS Variables as a Structure Output 7.3: MODULEIN Log Output Output 7.4: Updating a Character String Argument Output 7.5: Log Output If Request Access Is Permitted Output 7.6: Log Output for Successful Completion (Access Permitted) Output 7.7: Log Output for Using PEEKCLONG to Access a Returned Pointer Output 7.8: Log Output for Using Structures Output 7.9: Invoking a Shared Library Routine from PROC IML Chapter 12: Functions and CALL Routines Under UNIX Output 12.1: Portion of PROC CONTENTS Output Output 12.2: Portion of PROC CONTENTS Output Chapter 14: Macro Facility Under UNIX Output 14.1: Sample SYSRC Values Output 14.2: AUTOCALL Library Example Chapter 15: Procedures Under Unix Output 15.1: PROC DATASETS Example Output 15.2: Creating a View with a Dummy BY Variable Chapter 17: System Options Under UNIX Output 17.1: Log Output for the CATCACHE System Option Output 17.2: FULLSTIMER Output Output 17.3: STIMER Output ...Chapter 10 - Data Set Options Under UNIX Chapter 11 - Formats Under Unix Chapter 12 - Functions and CALL Routines Under UNIX Chapter 13 - Informats Under UNIX Chapter 14 - Macro Facility Under UNIX. .. SAS 9. 1 Companion for UNIX Environments SAS Publishing The Power to Know® The correct bibliographic citation for this manual is as follows: SAS Institute Inc 2004 SAS đ 9. 1 Companion for UNIX Environments Cary, NC: SAS Institute Inc... accessing shared executable libraries from SAS A reference section also describes the SAS language features, such as data set options, procedures, and system options, that have aspects specific to UNIX SAS 9. 1 Companion for UNIX Environments