Tải bản đầy đủ (.pdf) (176 trang)

SAS whats new in SAS 9 2 oct 2008 ISBN 1599947536 pdf

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (1.84 MB, 176 trang )


What’s New in SAS 9.2
®

®

SAS Documentation


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.
Other brand and product names are registered trademarks or trademarks of their
respective companies.


Contents
Chapter 1

4 What’s New in Base SAS 9.2: Overview

Supported Operating Environments
1
Migration
1
ODS (Output Delivery System) and Output Formatting
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

Chapter 2

4 What’s New in SAS 9.2 Base Procedures

1

1

5

Overview
5
New Base SAS Procedures
6
Enhanced Base SAS Procedures
7
Documentation Enhancements
13


Chapter 3

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

CORR Procedure
15
FREQ Procedure
15
UNIVARIATE Procedure

Chapter 4

15

15

4 What’s New in the Base SAS 9.2 Language

17

Overview
17
SAS System Features 18
SAS Language Elements 20

Chapter 5

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

Overview

37
Documentation Enhancements

Chapter 6

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

Overview
39
Documentation Enhancements

Chapter 7

37

39

4 What’s New in SAS 9.2 Output Delivery System

Overview
41
New Features and Enhancements for ODS Statements

41

41

39

37



iv

New Features and Enhancements for the DOCUMENT Procedure
44
New Features and Enhancements for the TEMPLATE Procedure
45
Improved ODS Statistical Graphics
47
New ODS Support for SAS/GRAPH 47
New PDF Security 48
New Scalable Vector Graphics and Fonts 48
Query Open ODS Destinations
48

Chapter 8

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

Overview
49
General Enhancements

Chapter 9

49

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


Overview
51
New Automatic Macro Variable
51
New SAS Macro System Options
51
New Options for the %MACRO Statement

Chapter 10

51

52

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

Overview
53
SPD Engine Data Set Options
53
SPD Engine LIBNAME Statement Options
SPD Engine System Options
54

Chapter 11

49

53


54

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

55

Overview
55
Enhanced LIBNAME Statement 55
New XMLMap Functionality 56
Obsolete Syntax
56

Chapter 12

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

Overview
57
SAS Default Directory Path
57
Word Tip 58
Software Migration 58
Windows NT, 2000, and Vista
58
Running SAS in Batch Mode
58
SAS Disk Cleanup Handler Utility
SAS Language Elements
59


Chapter 13

57

58

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

Overview
61
Direct File I/O
62
File Locking 62
SAS Remote Browser 62
Installation and Configuration Changes
Shared Executable Libraries 63

62

61


v

New Platforms for 9.2
63
SAS Language Elements 63
IPv6 Standard 65
Documentation Enhancements


Chapter 14

65

4 What’s New in SAS 9.2 OpenVMS Companion

67

Overview
67
The SAS Remote Browser 67
SAS Language Elements 68

Chapter 15

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

71

Overview
71
Installation Change 71
SAS Software Enhancements 72
New SAS Macro 72
Enhanced SAS Statements
72
New SAS System Options
73
Enhanced SAS System Options

74
Deprecated SAS System Options
74
Documentation Enhancements
74

Chapter 16

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

75

Overview
75
New and Enhanced Support for Import and Export Wizards and Procedures
New and Enhanced Support for PC Files Server 75
Support for New File Formats
76
Date/Time Value Differences between SAS and Microsoft Files 76
Documentation Enhancements
76

Chapter 17

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

Overview
77
All Supported SAS/ACCESS Interfaces to Relational Databases
SAS/ACCESS Interface to DB2 under UNIX and PC Hosts 78

SAS/ACCESS Interface to DB2 under z/OS 78
SAS/ACCESS Interface to Informix
78
SAS/ACCESS Interface to MySQL
79
SAS/ACCESS Interface to Netezza
79
SAS/ACCESS Interface to ODBC
79
SAS/ACCESS Interface to OLE DB
79
SAS/ACCESS Interface to Oracle
80
SAS/ACCESS Interface to Sybase
80
SAS/ACCESS Interface to Teradata
80

Chapter 18

75

4 What’s New in SAS/CONNECT 9.2

77

81

Overview
81

New Features and Enhancements for Server Sign-On and Compute Services
Enhancements for Remote Library Services 81

81

77


vi

Documentation Enhancements

82

4

Chapter 19
What’s New in Communications Access Methods for SAS/CONNECT 9.2
and SAS/SHARE 9.2 83
Overview
83
Support for Security Support Provider Interface under Windows for TCP/IP
Changes to TCP/IP and XMS under z/OS
83
Changes to the Spawners 84
Documentation Enhancements
84

Chapter 20


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

83

85

Overview
85
A New Data Provider Provides Access to a Local Installation of Base SAS
85
An Enhanced Data Link Properties Dialog Box 85
Three New Properties for Managing SAS Code Before a Data Source Is Initialized 86
Support for Reading Multilingual Data from a Data Set with UTF-8 Encoding 86
64-bit Version of the Local Provider
86

Chapter 21

4 What’s New in SAS Data Quality Server 9.2

Overview
87
DataFlux Integration Server Support
87
Documentation for Conditional Clusters 88

Chapter 22

4 What’s New in SAS/ETS 9.2


Overview
89
AUTOREG Procedure
90
COUNTREG Procedure
90
DATASOURCE Procedure 90
New ESM Procedure
91
MODEL Procedure 91
PANEL Procedure
91
QLIM Procedure
92
SASECRSP Engine 92
SASEFAME Engine 92
SASEHAVR Engine 93
New SIMILARITY Procedure (Experimental)
UCM Procedure
94
VARMAX Procedure
95
X12 Procedure 96
References
97

Chapter 23

89


4 What’s New in SAS/Genetics 9.2

Overview
99
Accommodating a New Data Format
ALLELE Procedure
99
BTL Procedure 100
GENESELECT Procedure 100

99

94

99

87


vii

References

Chapter 24

100

4 What’s New in SAS/GRAPH 9.2

101


Overview
102
The SAS/GRAPH Statistical Graphics Suite
102
The SAS/GRAPH Network Visualization Workshop
Support for Multiple Open ODS Destinations
103
Support for ODS Styles
103
Device Drivers 104
Colors
104
Fonts and Font Rendering 104
Reverting to a Pre-Version 9.2 Appearance 105
Procedures
105
Global Statements
110
Graphics Options
110
Transparent Overlays
110
ActiveX Control
110
Java Map Applet
111
Java Tilechart Applet
111
The Annotate Facility 111

New Map Data Sets
111
Updated Map Data Sets 111
Map Data Set Descriptions
116
New Data Set for Military ZIP Codes
116
Changes in SAS/GRAPH Documentation
116

Chapter 25

4 What’s New in SAS/IML 9.2

103

117

Overview
117
Modules for Multivariate Random Sampling 117
Performance Improvements
118
ODS Statistical Graphics Interface
118
BSPLINE Function
118
Vector-Matrix Operations 118
GEOMEAN and HARMEAN Functions
118

New Related Software
118

Chapter 26
Overview

Chapter 27

4 What’s New in SAS/IntrNet 9.2

121

121

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

Overview
123
General Enhancements

123

123

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

Chapter 28
Guide
125


Overview
125
Document Title

125


viii

Collating Sequences 126
Locales
126
Encodings
127
Formats
127
Informats
129
Functions
130
System Options
130

Chapter 29

4 What’s New in SAS ODBC Driver 9.2

Overview
131
General Enhancements


Chapter 30

131

131

4 What’s New in SAS/OR 9.2

133

4 What’s New in SAS/QC 9.2

139

Overview
133
The NETFLOW Procedure 133
The INTPOINT Procedure 134
The LP Procedure
134
The OPTLP Procedure
134
The OPTMILP Procedure
135
The OPTMODEL Procedure
135
The OPTQP Procedure
136
Earned Value Management Macros 136

Microsoft Project Conversion Macros
136
The GA Procedure
137
The CLP Procedure (Experimental)
138

Chapter 31

Overview
139
ADX Interface for Design of Experiments
CAPABILITY Procedure
140
FACTEX Procedure 140
References
140

Chapter 32

139

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

Overview
141
Details
142

Chapter 33


4 What’s New in SAS/SHARE 9.2

145

Overview
145
SAS/SHARE and the SAS Intelligence Platform Environment
Changes to PROC SERVER 145
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
148
CALIS Procedure

150

147

145
146
146

141



ix

CLUSTER Procedure
150
CORRESP Procedure
151
FACTOR Procedure 151
FREQ Procedure
151
GAM Procedure
151
GENMOD Procedure
151
GLIMMIX Procedure
151
GLM Procedure
152
GLMPOWER Procedure
152
GLMSELECT Procedure 152
HPMIXED Procedure (Experimental)
153
KRIGE2D Procedure 153
LIFEREG Procedure
153
LIFETEST Procedure 153
LOGISTIC Procedure
153
LOESS Procedure

154
Macros
154
MCMC Procedure (Experimental) 154
MDS Procedure 154
MIXED Procedure 154
MULTTEST Procedure 154
NLIN Procedure
155
NLMIXED Procedure
155
NPAR1WAY Procedure 155
PHREG Procedure
155
PLS Procedure 155
POWER Procedure 156
PRINCOMP Procedure 156
PRINQUAL Procedure
156
PROBIT Procedure
156
PSS Application
156
QUANTREG Procedure
156
REG Procedure
157
RSREG Procedure
157
SEQDESIGN Procedure (Experimental)

157
SEQTEST Procedure (Experimental)
157
SIM2D Procedure 157
SIMNORMAL Procedure
158
STDIZE Procedure
158
SURVEYFREQ Procedure
158
SURVEYLOGISTIC Procedure
158
SURVEYMEANS Procedure 158
SURVEYREG Procedure
159
SURVEYSELECT Procedure
159
TCALIS Procedure (Experimental) 159


x

TRANSREG Procedure
159
TTEST Procedure
159
VARCOMP Procedure 160
VARIOGRAM Procedure

Chapter 35


160

4 New Products in SAS 9.2

SAS Scoring Accelerator for Teradata

Index

163

161
161


1

CHAPTER

1
What’s New in Base SAS 9.2:
Overview
Supported Operating Environments 1
Migration 1
ODS (Output Delivery System) and Output Formatting
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

1

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
ODS packages enable ODS destinations to use the SAS Publishing Framework,
which is a feature of SAS Integration Technologies. An ODS package tracks the output


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
can be used in SAS.


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
environment that SAS is using.


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,
SAS/GRAPH features, macro enhancements, and a default logical record length.


5

CHAPTER

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:

3 FCMP
3 JAVAINFO


6

New Base SAS Procedures


4

Chapter 2

3 PROTO
3 SCAPROC
3 SOAP
The following Base SAS Procedures have been enhanced:
3 APPEND
3 CIMPORT
3 CONTENTS
3 COPY
3 CPORT
3 CORR
3 DATASETS
3 FREQ
3 MEANS
3 MIGRATE
3 OPTIONS
3 PRINT
3 PWENCODE
3 RANK
3 REPORT
3 SORT
3 SQL
3 TABULATE
3 UNIVARIATE

New Base SAS Procedures

The FCMP 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 JAVAINFO 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 PROTO Procedure
The PROTO procedure enables you to register, in batch mode, external functions that
are written in the C or C++ programming languages. You can use these functions in


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
catalogs. Use PROC CATALOG COPY to copy concatenated catalogs.


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

4

The RANK Procedure

9

The MEANS Procedure
The following enhancements have been made to the MEANS procedure:

3 The PRT statistic is now an alias for the PROBT statistic.
3 The MODE statistic can now be used with PROC MEANS.

The MIGRATE 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 OPTIONS Procedure
The following enhancements have been made to the OPTIONS procedure:

3 Restricted options are now supported in all operating environments.
3 The value of environment variables can be displayed by using the EXPAND option.

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

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

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

3 The following system option groups are new and can be specified on the GROUP=
option: LOGCONTROL, LISTCONTROL, SMF, SQL, and SVG.

The PRINT Procedure
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.
BLANKLINE
enables you to insert a blank line after every n observations.

The PWENCODE 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 RANK Procedure
The TIES= option of the RANK procedure has a new value, DENSE, which computes
scores and ranks by treating tied values as a single-order statistic.



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
3
3
3
3
3


ALTERNATE_HANDLING=
CASE_FIRST=
COLLATION=
LOCALE=
NUMERIC_COLLATION=
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
new SQLCONSTDATETIME system option. 4
EXITCODE
specifies whether PROC SQL sets an error code for SQL insert failures for each
statement.
IPASSTHRU|NOIPASSTHRU
specifies whether implicit pass-through is enabled.


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
SQLREDUCEPUT system option. 4
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
that creating consistent output is easier. Also, you now have two methods for producing


What’s New in SAS 9.2 Base Procedures

4

The TRANTAB Procedure

13

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. You also now have 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). This
statement 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 available in both statements.

Documentation Enhancements
The following Base SAS Procedures have had part or all of their documentation
relocated to other SAS documents.

The CV2VIEW Procedure
Documentation for the CV2VIEW procedure is now in the SAS/ACCESS for
Relational Databases: Reference.

The DBCSTAB Procedure
Documentation for the DBCSTAB procedure is now in the SAS National Language
Support (NLS): Reference Guide.

The EXPORT Procedure
The Base SAS Procedures Guide contains only UNIX– and z/OS–specific information
for the EXPORT procedure. PC-specific information is now in the SAS/ACCESS for
Relational Databases: Reference.

The IMPORT Procedure
The Base SAS Procedures Guide contains only UNIX– and z/OS–specific information
for the IMPORT procedure. PC-specific information is now in the SAS/ACCESS for
Relational Databases: Reference.

The TRANTAB Procedure
Documentation for the TRANTAB procedure is now in the SAS National Language

Support (NLS): Reference Guide.


14


×