SAS Whats New In SAS 9 2 Oct 2008 ISBN 1599947536 pdf

  What’s New in SAS ®

   9.2

  

The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2008.

® What’s New in SAS ® 9.2 . Cary, NC: SAS Institute Inc.

  What’s New in SAS

9.2 Copyright © 2008, SAS Institute Inc., Cary, NC, USA

  ISBN 978-1-59994-639-9 (electronic book) All rights reserved. Produced in the United States of America.

  For a hard-copy book: No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS Institute Inc.

  For a Web download or e-book: Your use of this publication shall be governed by the terms established by the vendor at the time you acquire this publication.

  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

Software-Restricted Rights (June 1987).

  SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513. 1st electronic book, March 2008 2nd electronic book, April 2008 3rd electronic book, May 2008 1st printing, March 2008 2nd printing, April 2008 3rd printing, May 2008 ® 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 hard-copy books, visit the SAS Publishing Web site

at support.sas.com/publishing 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. Contents

  

4 What’s New in Base SAS 9.2: Overview

   Supported Operating Environments

1 Migration

   ODS (Output Delivery System) and Output Formatting

   Universal Printing

   National Language Support

   SAS Remote Browsing

   User-Written Functions

   IPv6

   Web Messaging Protocol

   Performance

   Security

   Diagnostics

   Procedures

   Language Elements

  

  4 What’s New in SAS 9.2 Base Procedures

   Overview

   New Base SAS Procedures

   Enhanced Base SAS Procedures

   Documentation Enhancements

  

  4 What’s New in the Base SAS 9.2 Statistical Procedures

   CORR Procedure

   FREQ Procedure

   UNIVARIATE Procedure

  4 What’s New in the Base SAS 9.2 Language

  

   Overview

   SAS System Features

   SAS Language Elements

  

  4 What’s New in the Base SAS 9.2 Windowing Environment

   Overview

   Documentation Enhancements

  

  

4 What’s New in Moving and Accessing SAS 9.2 Files

   Overview

   Documentation Enhancements

  

  4 What’s New in SAS 9.2 Output Delivery System

   Overview

  iv

   New Features and Enhancements for the DOCUMENT Procedure

   New Features and Enhancements for the TEMPLATE Procedure

   Improved ODS Statistical Graphics

   New ODS Support for SAS/GRAPH

48 New PDF Security

   New Scalable Vector Graphics and Fonts

48 Query Open ODS Destinations

  

  4 What’s New in Data Security Technologies in SAS 9.2

   Overview

   General Enhancements

  

  4 What’s New in the SAS 9.2 Macro Language Facility

   Overview

   New Automatic Macro Variable

   New SAS Macro System Options

   New Options for the %MACRO Statement

  

  4 What’s New in the SAS 9.2 Scalable Performance Data Engine

   Overview

   SPD Engine Data Set Options

   SPD Engine LIBNAME Statement Options

54 SPD Engine System Options

  

  4 What’s New in the SAS 9.2 XML LIBNAME Engine

   Overview

   Enhanced LIBNAME Statement

   New XMLMap Functionality

   Obsolete Syntax

  

  4 What’s New in the SAS 9.2 Companion for Windows

   Overview

   SAS Default Directory Path

   Word Tip

   Software Migration

   Windows NT, 2000, and Vista

   Running SAS in Batch Mode

   SAS Disk Cleanup Handler Utility

   SAS Language Elements

  

  4 What’s New in the SAS 9.2 Companion for UNIX Environments

   Overview

   Direct File I/O

   File Locking

   SAS Remote Browser

   Installation and Configuration Changes

  

  v

  

   SAS Language Elements

   IPv6 Standard

   Documentation Enhancements

  

  4 What’s New in SAS 9.2 OpenVMS Companion

   Overview

   The SAS Remote Browser

   SAS Language Elements

  

  4 What’s New in the SAS 9.2 Companion for z/OS

   Overview

   Installation Change

   SAS Software Enhancements

   New SAS Macro

   Enhanced SAS Statements

   New SAS System Options

   Enhanced SAS System Options

   Deprecated SAS System Options

74 Documentation Enhancements

  

  4 What’s New in SAS/ACCESS 9.2 Interface to PC Files

   Overview

   New and Enhanced Support for Import and Export Wizards and Procedures

   New and Enhanced Support for PC Files Server

76 Support for New File Formats

   Date/Time Value Differences between SAS and Microsoft Files

76 Documentation Enhancements

  

  4 What’s New in SAS/ACCESS 9.2 Interfaces for Relational Databases

   Overview

   All Supported SAS/ACCESS Interfaces to Relational Databases

   SAS/ACCESS Interface to DB2 under UNIX and PC Hosts

   SAS/ACCESS Interface to DB2 under z/OS

   SAS/ACCESS Interface to Informix

   SAS/ACCESS Interface to MySQL

   SAS/ACCESS Interface to Netezza

   SAS/ACCESS Interface to ODBC

   SAS/ACCESS Interface to OLE DB

   SAS/ACCESS Interface to Oracle

   SAS/ACCESS Interface to Sybase

   SAS/ACCESS Interface to Teradata

  

  4 What’s New in SAS/CONNECT 9.2

   Overview

   New Features and Enhancements for Server Sign-On and Compute Services

  

  vi

82 Documentation Enhancements

4 What’s New in Communications Access Methods for SAS/CONNECT 9.2

  and SAS/SHARE 9.2

  

83 Overview

   Support for Security Support Provider Interface under Windows for TCP/IP

   Changes to TCP/IP and XMS under z/OS

   Changes to the Spawners

   Documentation Enhancements

  

  4 What’s New for the SAS 9.2 Providers for OLE DB

   Overview

   A New Data Provider Provides Access to a Local Installation of Base SAS

   An Enhanced Data Link Properties Dialog Box

   Three New Properties for Managing SAS Code Before a Data Source Is Initialized

   Support for Reading Multilingual Data from a Data Set with UTF-8 Encoding

  

  64-bit Version of the Local Provider

  

  4 What’s New in SAS Data Quality Server 9.2

   Overview

   DataFlux Integration Server Support

  

Documentation for Conditional Clusters

  

  4 What’s New in SAS/ETS 9.2

   Overview

   AUTOREG Procedure

   COUNTREG Procedure

   DATASOURCE Procedure

   New ESM Procedure

   MODEL Procedure

   PANEL Procedure

   QLIM Procedure

   SASECRSP Engine

   SASEFAME Engine

   SASEHAVR Engine

   New SIMILARITY Procedure (Experimental)

   UCM Procedure

   VARMAX Procedure

   X12 Procedure

   References

  

  4 What’s New in SAS/Genetics 9.2

   Overview

   Accommodating a New Data Format

  

  BTL Procedure

  

  vii

  References

  Chapter 24

  4 What’s New in SAS/GRAPH 9.2

  Overview

  

  The SAS/GRAPH Statistical Graphics Suite

  

  The SAS/GRAPH Network Visualization Workshop

  

  Support for Multiple Open ODS Destinations

  

  Support for ODS Styles

  104

  Device Drivers

  104

  Colors

  104

  Fonts and Font Rendering

  105

  Reverting to a Pre-Version 9.2 Appearance

  105

  Procedures

  

  Global Statements

  

  Graphics Options

  

  Transparent Overlays

  

  ActiveX Control

  

  Java Map Applet

  

  Java Tilechart Applet

  

  The Annotate Facility

  

  New Map Data Sets

  

  Updated Map Data Sets

  

  Map Data Set Descriptions

  

  New Data Set for Military ZIP Codes

  

  Changes in SAS/GRAPH Documentation

  Chapter 25

  4 What’s New in SAS/IML 9.2

  Overview

  

  Modules for Multivariate Random Sampling

  

  Performance Improvements

  

  ODS Statistical Graphics Interface

  

  BSPLINE Function

  

  Vector-Matrix Operations

  

  GEOMEAN and HARMEAN Functions

  

  New Related Software

  Chapter 26

  4 What’s New in SAS/IntrNet 9.2

  Overview

  Chapter 27

  4 What’s New in SAS/IntrNet 9.2 Application Dispatcher

  Overview

  

  General Enhancements

  Chapter 28

  4 What’s New in SAS 9.2 National Language Support (NLS) Reference Guide

  

  Overview

  

  viii

  Collating Sequences

  

  Locales

  

  Encodings

  

  Formats

  

  Informats

  

  Functions

  

  System Options

  Chapter 29

  4 What’s New in SAS ODBC Driver 9.2

  Overview

  

  General Enhancements

  Chapter 30

  4 What’s New in SAS/OR 9.2

  Overview

  

  The NETFLOW Procedure

  

  The INTPOINT Procedure

  

  The LP Procedure

  

  The OPTLP Procedure

  

  The OPTMILP Procedure

  

  The OPTMODEL Procedure

  

  The OPTQP Procedure

  

  Earned Value Management Macros

  

  Microsoft Project Conversion Macros

  137

  The GA Procedure

  138

  The CLP Procedure (Experimental)

  Chapter 31

  4 What’s New in SAS/QC 9.2

  Overview

  

  ADX Interface for Design of Experiments

  

  CAPABILITY Procedure

  

  FACTEX Procedure

  

  References

  Chapter 32

  4 What’s New in SAS 9.2 ADX Interface for Design of Experiments

  Overview

  

  Details

  Chapter 33

  4 What’s New in SAS/SHARE 9.2

  Overview

  

  SAS/SHARE and the SAS Intelligence Platform Environment

  

  Changes to PROC SERVER

  

  A Method to Free a Library That Contains a Locked Data Set

  

  Relocated Information about SAS Data Security Technologies

  Chapter 34

  4 What’s New in SAS/STAT 9.2

  Overview

  

  ix

  CLUSTER Procedure

  

  CORRESP Procedure

  

  FACTOR Procedure

  

  FREQ Procedure

  

  GAM Procedure

  

  GENMOD Procedure

  

  GLIMMIX Procedure

  

  GLM Procedure

  

  GLMPOWER Procedure

  

  GLMSELECT Procedure

  

  HPMIXED Procedure (Experimental)

  

  KRIGE2D Procedure

  

  LIFEREG Procedure

  

  LIFETEST Procedure

  

  LOGISTIC Procedure

  

  LOESS Procedure

  

  Macros

  

  MCMC Procedure (Experimental)

  

  MDS Procedure

  

  MIXED Procedure

  

  MULTTEST Procedure

  

  NLIN Procedure

  

  NLMIXED Procedure

  

  NPAR1WAY Procedure

  

  PHREG Procedure

  

  PLS Procedure

  

  POWER Procedure

  

  PRINCOMP Procedure

  

  PRINQUAL Procedure

  

  PROBIT Procedure

  

  PSS Application

  

  QUANTREG Procedure

  

  REG Procedure

  

  RSREG Procedure

  

  SEQDESIGN Procedure (Experimental)

  

  SEQTEST Procedure (Experimental)

  

  SIM2D Procedure

  

  SIMNORMAL Procedure

  

  STDIZE Procedure

  

  SURVEYFREQ Procedure

  

  SURVEYLOGISTIC Procedure

  

  SURVEYMEANS Procedure

  

  SURVEYREG Procedure

  

  SURVEYSELECT Procedure

  

  x

  TRANSREG Procedure

  

  TTEST Procedure

  

  VARCOMP Procedure

  

  VARIOGRAM Procedure

Chapter 35 161

4 New Products in SAS 9.2

  

  SAS Scoring Accelerator for Teradata

  Index 163

  1 C H A P T E R

1 What’s New in Base SAS 9.2:

  Overview Supported Operating Environments

  1 Migration

  1 ODS (Output Delivery System) and Output Formatting

  1 Universal Printing

  2 National Language Support

  2 SAS Remote Browsing

  2 User-Written Functions

  2 IPv6

  3 Web Messaging Protocol

  3 Performance

  3 Security

  3 Diagnostics

  3 Procedures

  4 Language Elements

  4 Supported Operating Environments

  SAS 9.2 supports new operating systems and hardware that includes Microsoft Windows x64 editions, Linux on x86-64-based CPUs and Solaris 10 x64. Also new for SAS 9.2 is support for OpenVMS on HP Integrity (Itanium) servers. OpenVMS on Integrity servers support a product set similar to what is offered on OpenVMS Alpha systems. SAS 9.2 continues to support key platforms for SAS, including Microsoft Windows 2003/2008 (32-bit) server families, IBM’s z/OS, Sun’s Solaris on SPARC, IBM’s AIX on Power, HP-UX on Itanium and PA-RISC, and Red Hat and Novell’s Linux 32-bit distributions.

  Migration

  The MIGRATE procedure now supports more cross-environment migrations to SAS 9.2.

  ODS (Output Delivery System) and Output Formatting

2 Universal Printing

  4 Chapter 1

  from any active destinations that connect with it. After the destinations close, the package can be published to any of the publish destinations.

  Measured RTF output enables you to specify how and where page breaks occur and when to place titles and footnotes into the body of a page. Inline formatting has new syntax and can now be nested. With inline formatting you can change border styles individually. Style element inheritance has been enhanced in SAS 9.2. In addition, the functionality of the REPLACE statement has been completely incorporated into the

  STYLE statement.

  The TEMPLATE procedure now enables you to customize the appearance of crosstabulation (contingency) tables that are created with the FREQ procedure. You can now define styles by using TEMPLATE procedure syntax as well as cascading style sheets (CSS). You can use table header and footer style elements in the TEMPLATE procedure to change the borders of the regions that surround the table header and footer. The PRINT procedure now enables the insertion of blank lines and the BY variable label on the summary line, as well as formatting of large numbers.

  Universal Printing

  New Universal Printers include PNG (Portable Network Graphics), SVG (Scalable Vector Graphics) and PDFA, a printer that produces archivable PDF files that are compliant with PDF/A-1b. All Universal Printers now render TrueType fonts for output in all operating environments, including 31 new TrueType fonts.

  Several new system options enable you to control the use, layout, viewing, security, description, metatadata, and printing options of PDF documents.

  National Language Support

  SAS 9.2 adds support for numerous locales and language encodings, as well as international currency informats and formats, and alternate collating sequences such as linguistic collation.

  SAS Remote Browsing

  In all operating environments except for Windows, the SAS Remote Browser replaces the SAS Help Browser. You now view SAS documentation and other Web pages specified by the WBROWSE command in the Web browser on your computer.

  User-Written Functions

  You can now write your own functions in either C, C++, or the SAS language, and use them in a SAS program. External functions that are written in C or C++ can be used in SAS programs once they have been registered using the PROTO procedure. To write your own functions using the SAS language, you use the FCMP procedure. The new FUNCTIONS DICTIONARY table contains information about all functions that

  What’s New in Base SAS 9.2: Overview

  4 Diagnostics

  3

  IPv6

  To support the "next generation" of Internet protocol, SAS supports the new IPv6 Internet protocol as well as the current IPv4 protocol.

  Web Messaging Protocol

  The SOAP (Simple Object Access Protocol) procedure enables a Web messaging protocol that invokes a Web service through the Java Native Interface (JNI) and the Axis2 Java Client.

  Performance

  SAS programs that run in batch mode and terminate before they complete can be resumed at the DATA or PROC step that follows the last completed DATA or PROC step. The SQL procedure has been optimized to improve the performance of queries to external databases and SAS libraries. The SORT procedure determines whether a data set has already been sorted before it attempts to sort a data set. The IBUFNO system option enables you to specify an optional number of extra buffers to be allocated for navigating an index file. You can specify when SAS files are written to disk by using the new FILESYNC system option.

  Security

  SAS now supports the AES (Advanced Encryption Standard) data encryption algorithm. SSL (Secure Sockets Layer) and SSH (Secure Shell) are now supported in the z/OS operating environment.

  The Secure File Transfer Protocol (SFTP) access method provides a secure connection and file transfers between two hosts (client and server), over a network, where both commands and data are encrypted.

  The PWENCODE procedure now supports the sas003 encoding method, which uses a 256-bit key encryption method to generate encoded passwords. You can now specify in the LIBNAME statement whether user ID and password credentials are necessary when accessing a WebDAV server.

  Diagnostics

  The SCAPROC procedure is a SAS Code Analyzer that captures information in a file about the input, output, variables, and macros for a SAS job while the job is running. The JAVAINFO procedure reports diagnostic information about the Java

4 Procedures

  4 Chapter 1 Procedures

  The REPORT procedure enables you to specify that group and order variable cells span table rows. The TABULATE procedure enables you to specify variable name list shortcuts within the TABLE statement. In addition to query performance improvements, the SQL procedure now accesses two new dictionary tables, the FUNCTIONS and INFORMATS DICTIONARY tables. Output from the OPTIONS procedure can now display the value of an environment variable as well as a list of system option groups. The new ID statement for the CORR procedure specifies one or more additional tip variables to identify observations in scatter plots and scatter plot matrices. The FREQ procedure can now produce frequency plots, cumulative frequency plots, deviation plots, odds ratio plots, and kappa plots by using ODS Graphics. The crosstabulation table now has an ODS template that you can customize using the TEMPLATE procedure. Equivalence and noninferiority tests are now available for the binomial proportion and the proportion difference. New confidence limits for the binomial proportion include Agresti-Coull, Jeffreys, and Wilson (score) confidence limits. The RISKDIFF option in the EXACT statement provides unconditional exact confidence limits for the proportion (risk) difference. The EQOR option in the EXACT statement provides Zelen’s exact test for equal odds ratios.

  The UNIVARIATE procedure now produces graphs that conform to ODS styles, so that creating consistent output is easier. Also, you now have two alternative methods for producing graphs. With traditional graphics, you can control every detail of a graph through familiar procedure syntax and the GOPTION and SYMBOL statements. With ODS Graphics (experimental for the UNIVARIATE procedure in SAS 9.2), you can obtain the highest quality output with minimal syntax and full compatibility with graphics that are produced by the SAS/STAT and SAS/ETS procedures.

  The new UNIVARIATE procedure CDFPLOT statement plots the observed cumulative distribution function (cdf) of a variable and enables you to superimpose a fitted theoretical distribution on the graph. The new PPPLOT statement creates a probability-probability plot (also referred to as a P-P plot or percent plot), which compares the empirical cumulative distribution function (ecdf) of a variable with a specified theoretical cumulative distribution function. The beta, exponential, gamma, lognormal, normal, and Weibull distributions are availbable in both statements.

  Language Elements

  Files that are located in an aggregate storage location whose filename does not comply with SAS naming conventions can now be accessed through the %INCLUDE, FILE, and the INFILE statements. A new DATA statement option enables notes to be written to the SAS log at the beginning and end of each level of nested DO statements.

  Several new informats and formats read and write date, time, and datetime data that is formatted according to ISO 8601. New character functions return information about character position or words in a character string. Other new functions return date and time interval and various mathematical computations. Several functions from other SAS products that return date or time information are now part of Base SAS.

  New automatic macro variables contain information about the SAS session encoding, the local and remote computer names, and SAS log error and warning messages Many new system options support the new SAS 9.2 features. Others support e-mail,

  5 C H A P T E R

2 What’s New in SAS 9.2 Base

  Procedures Overview

  5 New Base SAS Procedures

  6 The FCMP Procedure

  6 The JAVAINFO Procedure

  6 The PROTO Procedure

  6 The SCAPROC Procedure

  7 The SOAP Procedure

  7 Enhanced Base SAS Procedures

  7 The APPEND Procedure

  7 The CIMPORT Procedure

  7 The CONTENTS Procedure

  7 The COPY Procedure

  7 The CPORT Procedure

  8 The CORR Procedure

  8 The DATASETS Procedure

  8 The FREQ Procedure

  8 The MEANS Procedure

  9 The MIGRATE Procedure

  9 The OPTIONS Procedure

  9 The PRINT Procedure

  9 The PWENCODE Procedure

  9 The RANK Procedure

  9 The REPORT Procedure

  10 The SORT Procedure

  10 The SQL Procedure

  11 The TABULATE Procedure

  12 The UNIVARIATE Procedure

  12 Documentation Enhancements

  13 The CV2VIEW Procedure

  13 The DBCSTAB Procedure

  13 The EXPORT Procedure

  13 The IMPORT Procedure

  13 The TRANTAB Procedure

  13 Overview

  The following Base SAS Procedures are new:

6 New Base SAS Procedures

  3 PRINT

  The PROTO procedure enables you to register, in batch mode, external functions that

  The PROTO Procedure

  The JAVAINFO procedure conveys diagnostic information to the user about the Java environment that SAS is using. The diagnostic information can be used to confirm that the SAS Java environment has been configured correctly, and can be helpful when reporting problems to SAS technical support. Also, PROC JAVAINFO is often used to verify that the SAS Java environment is working correctly because PROC JAVAINFO uses Java to report its diagnostics.

  The JAVAINFO Procedure

  The FCMP procedure is new for 9.2. The SAS Function Compiler Procedure (FCMP) enables you to create, test, and store SAS functions and subroutines before you use them in other SAS procedures. PROC FCMP accepts slight variations of DATA step statements, and most features of the SAS programming language can be used in functions and subroutines that are processed by PROC FCMP.

  The FCMP Procedure

  3 UNIVARIATE New Base SAS Procedures

  3 TABULATE

  3 SQL

  3 SORT

  3 REPORT

  3 RANK

  3 PWENCODE

  4 Chapter 2

  3 PROTO

  3 MIGRATE

  3 MEANS

  3 FREQ

  3 DATASETS

  3 CORR

  3 CPORT

  3 COPY

  3 CONTENTS

  3 CIMPORT

  3 APPEND

  The following Base SAS Procedures have been enhanced:

  3 SOAP

  3 SCAPROC

  3 OPTIONS

  What’s New in SAS 9.2 Base Procedures

  4 The COPY Procedure

  7

  SAS as well as in C-language structures and types. After the C-language functions are registered in PROC PROTO, they can be called from any SAS function or subroutine that is declared in the FCMP procedure. They can also be called from any SAS function, subroutine, or method block that is declared in the COMPILE procedure.

  The SCAPROC Procedure

  The SCAPROC procedure enables you to specify a filename or fileref that will contain the output of the SAS Code Analyzer, and to write the output to the file. The SAS Code Analyzer captures information about the job step, input and output information such as file dependencies, and information about macro symbol usage from a running SAS job. The SCAPROC procedure also can generate a grid-enabled job that can simultaneously run independent pieces of a SAS job.

  The SOAP Procedure

  The SOAP procedure is a messaging protocol that invokes a Web service through Java Native Interface (JNI) with the Axis2 Java Client.

  Enhanced Base SAS Procedures The APPEND Procedure

  The NOWARN option has been added to the APPEND procedure. The NOWARN option suppresses the warning message when it is used with the FORCE option to concatenate two data sets with different variables.

  The CIMPORT Procedure

  The following enhancement has been made to the CIMPORT procedure:

  3 ISFILEUTF8= is a new option that specifies whether the encoding of the transport

  file is UTF-8. This feature is useful when you import a transport file whose UTF-8 encoding identity is known to you but is not stored in the transport file. SAS releases before SAS 9.2 do not store any encodings in the transport file.

  3 New warning and error messages are available to alert you to transport problems and recovery actions.

  The CONTENTS Procedure

  The WHERE option of the CONTENTS procedure has been restricted. You cannot use the WHERE option to affect the output because PROC CONTENTS does not process any observations.

  The COPY Procedure

  The PROC COPY option of the COPY procedure ignores concatenations with

8 The CPORT Procedure

  4 Chapter 2 The CPORT Procedure

  The documentation about the READ= data set option (used in the DATA statement of PROC CPORT) was enhanced to explain when a read-only password might be required. You can create a transport file for a read-only data set only when you also specify the data set’s password using the READ= option in PROC CPORT. Clear-text and encoded passwords are supported.

  The CORR Procedure

  The new ID statement for the CORR procedure specifies one or more additional tip variables to identify observations in scatter plots and scatter plot matrices.

  The DATASETS Procedure

  The following options are new or enhanced in the DATASETS procedure:

  3 The new REBUILD option specifies whether to correct or delete disabled indexes

  and integrity constraints. When a data set is damaged in some way and the DLDMGACTION=NOINDEX data set or system option is used, the data set is repaired, the indexes and integrity constraint are disabled, and the index file is deleted. The data set is then limited to INPUT mode only until the REBUILD option is executed. This option enables you to continue with production without waiting for the indexes to be repaired, which can take a long time on large data sets.

  3 Here is a list of enhancements for the COPY statement:

  3 The COPY statement with the NOCLONE option specified supports the

  OUTREP= and ENCODING= LIBNAME options for SQL views, DATA step views, and some SAS/ACCESS views (Oracle and Sybase).

  3 You can use the COPY procedure, along with the XPORT engine or a REMOTE engine, to transport SAS data sets between hosts.

  3 Here is a list of enhancements for the CONTENTS procedure:

  3 When using the OUT2 option, indexes and integrity constraints are labeled if disabled.

  The FREQ Procedure

  The FREQ procedure can now produce frequency plots, cumulative frequency plots, deviation plots, odds ratio plots, and kappa plots by using ODS Graphics. The crosstabulation table now has an ODS template that you can customize using the TEMPLATE procedure. Equivalence and noninferiority tests are now available for the binomial proportion and the proportion difference. New confidence limits for the binomial proportion include Agresti-Coull, Jeffreys, and Wilson (score) confidence limits. The RISKDIFF option in the EXACT statement provides unconditional exact confidence limits for the proportion (risk) difference. The EQOR option in the EXACT statement provides Zelen’s exact test for equal odds ratios.

  What’s New in SAS 9.2 Base Procedures

  

3 You can display a list of SAS system option groups by using the LISTGROUPS

option.

  The RANK Procedure

  The PWENCODE procedure now supports the sas003 encoding method, which uses a 256-bit key to generate encoded passwords. The sas003 encoding method supports the AES (Advanced Encryption Standard), which is a new security algorithm for SAS/SECURE.

  The PWENCODE Procedure

  BLANKLINE enables you to insert a blank line after every n observations.

  The following new options have been added to the PRINT procedure: SUMLABEL enables you to display the label of the BY variable on the summary line.

  The PRINT Procedure

  

3 The following system option groups are new and can be specified on the GROUP=

option: LOGCONTROL, LISTCONTROL, SMF, SQL, and SVG.

  3 To display the options in multiple groups, you can list more than one group in the GROUP= option.

  3 System options that have a character value can be displayed as a hexadecimal value by using the HEXVALUE option.

  4 The RANK Procedure

  

3 The value of environment variables can be displayed by using the EXPAND option.

  3 Restricted options are now supported in all operating environments.

  The following enhancements have been made to the OPTIONS procedure:

  The OPTIONS Procedure

  The MIGRATE procedure now supports more cross-environment migrations. You can migrate a SAS 8.2 data library from almost every SAS 8.2 operating environment to any SAS 9.2 operating environment. Most SAS 6 operating environments are also supported, but not for cross-environment migration.

  The MIGRATE Procedure

  3 The MODE statistic can now be used with PROC MEANS.

  The following enhancements have been made to the MEANS procedure: 3 The PRT statistic is now an alias for the PROBT statistic.

  9 The MEANS Procedure

  The TIES= option of the RANK procedure has a new value, DENSE, which computes

10 The REPORT Procedure

  4 Chapter 2 The REPORT Procedure

  The following enhancements have been made to the REPORT procedure:

  3 The PROBT statistic is now an alias for the PRT statistic.

  3 The MODE statistic can now be used with PROC REPORT.

  3 The STYLE/MERGE attribute name option has been added so that styles can be

  concatenated. Currently, there is no way to concatenate styles using a CALL DEFINE statement. Each time the CALL DEFINE statement is executed, it replaces any previous style information.

  3 The BY statement is now available when requesting an output data set with the OUT= option in the PROC REPORT statement.

  3 The new Table of Contents (TOC) now supports the CONTENTS= option in the BREAK, RBREAK, and DEFINE statements.

  3 The BYPAGENO=n option had been added to reset the page number between BY groups.

  3 The SPANROWS option has been added for the PROC REPORT statement. This

  option permits the GROUP and ORDER variables to be contained in a box rather than blank cells appearing underneath the GROUP or ORDER variable values.

  3 The SPANROWS option also permits GROUP and ORDER variable values to repeat when the values break across pages in PDF, PS, and RTF destinations.

  3 PROC REPORT now supports the ODS DOCUMENT and ODS OUTPUT destinations.

  The SORT Procedure

  The following options are new or enhanced in the SORT procedure:

  3 The new PRESORTED option causes PROC SORT to check within the input data

  set to determine whether the observations are in order before sorting. Use the PRESORTED option when you know or strongly suspect that a data set is already in order according to the key variables specified in the BY statement. By specifying this option, you avoid the cost of sorting the data set.

  3 The SORTSEQ= option is enhanced. New suboptions have been added as follows:

  3 The LINGUISTIC suboption specifies linguistic collation, which sorts

  characters according to rules of language. The rules and default collating sequence options are based on the language specified in the current locale setting. You can modify the default collating rules of linguistic collation. The following are the collating rules that can be used to modify the LINGUISTIC collation suboption:

  3 ALTERNATE_HANDLING=

  3 CASE_FIRST=

  3 COLLATION=

  3 LOCALE=

  3 NUMERIC_COLLATION=

  3 STRENGTH=

  3 You can now specify all possible encoding values. The result is the same as a binary collation of the character data represented in the specified encoding.

  The encoding values available are found in the SAS National Language

  Support (NLS): Reference Guide

  What’s New in SAS 9.2 Base Procedures

  4 The SQL Procedure

  11 The SQL Procedure

  The following enhancements have been made to the SQL procedure: 3 A number of features have been added which enable you to optimize queries.

  3 Depending on which engine type the query uses, you can replace the PUT function with a logically equivalent expression.

  3 You can replace references to the DATE, TIME, DATETIME, and TODAY

  functions in a query to their equivalent constant values before the query executes.

  3 You can specify the minimum number of rows that must be in a table or the

  maximum number of SAS format values that can exist in a PUT function in order for PROC SQL to consider optimizing the PUT function.

  3 You can bypass the remerging process when a summary function is used in a SELECT clause or a HAVING clause.

  3 If indexing is present, PROC SQL now uses the index files when processing SELECT DISTINCT statements.

  3 Semicolons can now be used in explicit queries for pass through.

  3 You can use custom functions that are created with PROC FCMP in PROC SQL.

  

3 The DICTIONARY.EXTFILES table will now include the access method and device

type information.

  3 Three new DICTIONARY tables have been added. The FUNCTIONS table

  contains information about currently accessible functions. The INFOMAPS table returns information on all known information maps. The DESTINATIONS table contains information about all known ODS destinations.

  

3 The DESCRIBE TABLE CONSTRAINTS statement will not display the names of

  password-protected foreign key data set variables that reference the primary key constraint.

  3 The TRANSCODE=NO argument is not supported by some SAS Workspace Server

  clients. In SAS 9.2, if the argument is not supported, column values with TRANSCODE=NO are replaced (masked) with asterisks (*). Before SAS 9.2, column values with TRANSCODE=NO were transcoded.

  3 The SAS/ACCESS CONNECT statement has a new AUTHDOMAIN option that

  supports lookup of security credentials (user ID and password) without your having to explicitly specify the credentials. The following new options have been added to the PROC SQL statement: CONSTDATETIME|NOCONSTDATETIME specifies whether the SQL procedure replaces references to the DATE, TIME,

  DATETIME, and TODAY functions in a query with their equivalent constant values before the query executes.

  Note:

  The CONSTDATETIME option provides the same functionality as the

  4 new SQLCONSTDATETIME system option.

  EXITCODE specifies whether PROC SQL sets an error code for SQL insert failures for each statement.

  IPASSTHRU|NOIPASSTHRU

12 The TABULATE Procedure

  4 Chapter 2

  REDUCEPUT specifies the engine type that a query uses for which optimization is performed by replacing a PUT function in a query with a logically equivalent expression.

  Note:

  The REDUCEPUT option provides the same functionality as the new

  

4

SQLREDUCEPUT system option.

  REMERGE|NOREMERGE specifies that the SQL procedure does not process queries that use remerging of data.

  Note:

  The REMERGE option provides the same functionality as the new SQLREMERGE system option.

4 The following new global system options affect SQL processing and performance:

  DBIDIRECTEXEC (SAS/ACCESS) controls SQL optimization for SAS/ACCESS engines. SQLCONSTANTDATETIME specifies whether the SQL procedure replaces references to the DATE, TIME,

  DATETIME, and TODAY functions in a query with their equivalent constant values before the query executes. SQLREDUCEPUT for the SQL procedure, specifies the engine type that a query uses for which optimization is performed by replacing a PUT function in a query with a logically equivalent expression. SQLREDUCEPUTOBS for the SQL procedure when the SQLREDUCEPUT= system option is set to

  NONE, specifies the minimum number of observations that must be in a table in order for PROC SQL to consider optimizing the PUT function in a query. SQLREDUCEPUTVALUES for the SQL procedure when the SQLREDUCEPUT= system option is set to

  NONE, specifies the maximum number of SAS format values that can exist in a PUT function expression in order for PROC SQL to consider optimizing the PUT function in a query.

  SQLREMERGE specifies whether the SQL procedure can process queries that use remerging of data. SQLUNDOPOLICY specifies whether the SQL procedure keeps or discards updated data if errors occur while the data is being updated.

  The TABULATE Procedure

  The following enhancements have been made to the TABULATE procedure: 3 The PROBT statistic is now an alias for the PRT statistic.

3 The MODE statistic can now be used with PROC TABULATE.

  3 You can specify variable name list shortcuts within the TABLE statement.

  The UNIVARIATE Procedure

  The UNIVARIATE procedure now produces graphs that conform to ODS styles, so

  What’s New in SAS 9.2 Base Procedures

  4 The TRANTAB Procedure

  13