What's New |
Overview |
The SAS 9.2 Base new features, language elements, and enhancements to the language elements continue to expand the capabilities of SAS:
SAS now supports the next generation Internet Protocol, IPv6, as well as IPv4.
The DATA step component Java object enables instantiation of Java classes and accessing fields and methods on resultant objects.
The SAS logging facility is a new logging subsystem that can be used to collect, categorize, and filter log events and write them to various output devices. The logging facility can be used to log SAS server events or events that are initiated from SAS programs. This feature is new for SAS 9.2 Phase 2.
In addition to SAS Monospace and SAS Monospace Bold TrueType fonts, new TrueType fonts are available when you install SAS.
Universal Printing now supports Scalable Vector Graphics (SVG), Portable Network Graphics (PNG), and PDFA-1b print output formats.
You can access remote files by using the Secure File Transfer Protocol (SFTP) access method.
SAS now reads and writes ISO 8601 dates, time, and intervals.
In support of batch programming, if a program terminates without completion, the new checkpoint mode enables programs to be resubmitted in restart mode, resuming with the DATA or PROC step that was executing when the program terminated.
In the "Functions and CALL Routines" section there are several new and enhanced functions as well as functions that were previously in other products and that are now part of Base SAS. The functions that moved from the Risk Dimensions product calculate the call and put prices from European options on futures, based on various models. The functions that moved from SAS/ETS return information about various date and time intervals. The functions from SAS High-Performance Forecasting return specific dates.
The documentation for string functions and CALL routines now has a restriction that identifies whether theses functions and CALL routines support Single Byte Character Sets (SBCS), Double Byte Character Sets (DBCS), or Multi-Byte Character Sets (MBCS). This distinction is important because improper use of these functions and CALL routines can result in unexpected behavior in programs that are written in a non-English language. The description for the restrictions is located in the Function Compatibility with DBCS, MBCS, and SBCS Character Sets section of the documentation.
In a DATA step, you can track the execution of code within a DO group. The DATA statement has an optional argument for you to write a note to the SAS log when the DO statement begins and ends.
New SAS system options enable you to set a default record length, specify options for accessing PDF files, specify values for Scalable Vector Graphics, support the checkpoint mode and the restart mode, and support fonts.
Some of the new features for the DATA step object attributes, operators, and methods remove all items from the hash object without deleting the instance of the hash object, consolidate the FIND and ADD methods into a single method call, return the number of items in the hash object, and specifies a starting key item for iteration.
In previous versions of SAS Language Reference: Dictionary, references to language elements in other publications were included in their respective dictionary for each language element type. For example, you could find a reference for the $BIDI format in the format dictionary entries. You can now find references to language elements that are documented in other publications within each section for the language element types. Online, this section appears just before the dictionary entries for each language element type. In the PDF or print copy, this section appears as the last topic for each language element type.
A section that describes how SAS syntax is written has been added. This section contains examples of how to interpret the syntax.
SAS System Features |
If a batch program terminates before it completes and it was started in checkpoint mode, the program can be resubmitted in restart mode, resuming with the DATA or PROC step that was executing when the program terminated. DATA and PROC steps that have already completed do not need to be rerun. See "Checkpoint Mode and Restart Mode" in SAS Language Reference: Concepts.
In SAS 9.1.3, the formats and informats that support the ISO 8601 basic and extended time notations were documented in the SAS 9.1.3 XML LIBNAME: User's Guide. These formats and informats have been renamed and are now documented in SAS Language Reference: Dictionary.
The new names clearly distinguish the basic and extended formats and informats. You can see the renamed formats and informats in their respective sections in the topics that follow. In addition, a new CALL routine, IS8601_CONVERT, converts ISO 8601 intervals to datetime and duration values, and datetime and duration values to an ISO 8601 interval.
SAS 9.2 introduces support for the "next generation" of Internet Protocol, IPv6, which is the successor to the current Internet Protocol, IPv4. Rather than replacing IPv4 with IPv6, SAS 9.2 supports both protocols. A primary reason for the new protocol is that the limited supply of 32-bit IPv4 address spaces is being depleted. IPv6 uses a 128-bit address scheme, which provides more IP addresses than IPv4 did.
For more information, see Internet Protocol Version 6 (IPV6) in SAS Language Reference: Concepts.
In SAS 9.2, all Universal Printers and many SAS/GRAPH devices use the FreeType engine to render TrueType fonts for output in all of the operating environments that SAS software supports. In addition, by default, many SAS/GRAPH device drivers and all Universal Printers generate output using ODS styles, and these ODS styles use TrueType fonts.
In addition to SAS Monospace and SAS Monospace Bold, 40 additional fonts (TrueType) are available when you install SAS:
Three Latin fonts compatible with Microsoft
Ten graphic symbol fonts
Eight multilingual Unicode fonts
Nineteen monolingual Asian fonts
In the third maintenance release for SAS 9.2, the MingLiU_HKSCS TruType font is new. In addition, the HeiT, MingLiU, MingLiU_HKSCS, and PMingLiu fonts support the HKSCS2004 (Hong Kong Supplemental Character Set) characters.
New Universal printers include the following:
PDFA |
produces an archivable PDF compliant with PDF/A-1b . |
PNG |
produces Portable Network Graphics, which is a raster image format that is designed to replace the older simple GIF and the more complex TIFF format. |
PNGt |
produces transparent Portable Network Graphics. |
SVG |
produces Scalable Vector Graphics, which is a language for describing two-dimensional graphics and graphical applications in XML. |
SVGt |
produces transparent Scalable Vector Graphics. |
SVGnotip |
produces Scalable Vector Graphics without tooltips. |
SVGView |
produces Scalable Vector Graphics with controls to navigate through multi-page SVG documents. |
SVGZ |
produces compressed Scalable Vector Graphics. |
For more information, see Printing with SAS in SAS Language Reference: Concepts.
The SAS logging facility is a flexible, configurable logging subsystem that you can use to collect, categorize, and filter log events and write them to a variety of output devices. The SAS language now includes autocall macros, functions, and DATA step component objects for creating logging facility components that categorize log events. The logging facility and the SAS log are two separate logging systems. For more information, including the reference documentation for the logging facility language elements, see The SAS Logging Facility in SAS Logging: Configuration and Programming Reference. This feature is new for SAS 9.2 Phase 2.
In a WHERE expression, the LIKE operator now supports an escape character. The escape character enables you to search for the percent sign (%) and the underscore (_) characters in values. For more information, see Syntax of WHERE Expression in SAS Language Reference: Concepts.
The DATA step component Java object enables you to instantiate Java classes and access fields and methods on the resultant objects. Although the documentation for the DATA step component Java object for SAS 9.2 Phase 1 has been available on http://support.sas.com, the documentation is available in SAS Help and Documentation for SAS 9.2 Phase 2.
The remote browser has been used in some operating environments in prior releases of SAS to view SAS Help and ODS HTML output. You can now view SAS Help and ODS HTML output, and PDF and RTF output under z/OS, OpenVMS, UNIX, and Windows 64-bit environments. Windows 32-bit environments use the SAS browser to view Help and ODS output.
You enable remote browsing by configuring these system options:
HELPBROWSER= |
specifies whether you want to use the remote browser or the SAS browser. |
HELPHOST= |
specifies the name of the computer where the remote browser sends Help and ODS output. |
HELPPORT= |
specifies the port number for the remote browser client. |
For more information about remote browsing, see the Help documentation for your operating environment: OpenVMS, UNIX, Windows, z/OS
SAS Language Elements |
The DLDMGACTION=NOINDEX data set option has a new argument.
The NOINDEX argument automatically repairs the data set without the indexes and integrity constraints, deletes the index file, updates the data file to reflect the disabled indexes and integrity constraints, and limits the data file to be opened only in INPUT mode.
The following formats are new:
converts character data to ASCII text using Base 64 encoding.
writes ISO 8601 duration, datetime, and interval forms using the basic notations PnYnMnDTnHnMnS and yyyymmddThhmmss.
writes ISO 8601 duration, datetime, and interval forms using the basic notations PyyyymmddThhmmss and yyyymmddThhmmss.
writes ISO 8601 duration, datetime, and interval forms using the extended notations PnYnMnDTnHnMnS and yyyy-mm-ddThh:mm:ss.
writes ISO 8601 duration, datetime, and interval forms using the extended notations Pyyyy-mm-ddThh:mm:ss and yyyy-mm-ddThh:mm:ss.
writes ISO 8601 duration, datetime, and interval forms for the extended notations Pyyyy-mm-ddThh:mm:ss and yyyy-mm-ddThh:mm:ss, using a hyphen ( - ) for omitted components.
writes ISO 8601 duration, datetime, and interval forms for the extended notations Pyyyy-mm-ddThh:mm:ss and yyyy-mm-ddThh:mm:ss, using an x for each digit of an omitted component.
writes ISO 8601 duration, datetime, and interval forms PnYnMnDTnHnMnS and yyyy-mm-ddThh:mm:ss, dropping omitted components in duration values and using a hyphen ( - ) for omitted components in datetime values.
writes ISO 8601 duration, datetime, and interval forms PnYnMnDTnHnMnS and yyyy-mm-ddThh:mm:ss, dropping omitted components in duration values and using an x for each digit of an omitted component in datetime values.
writes date values using the ISO 8601 base notation yyyymmdd.
writes the date from a datetime value using the ISO 8601 basic notation yyyymmdd.
writes datetime values in the ISO 8601 basic notation yyyymmddThhmmssffffff.
writes datetime values in the Coordinated Universal Time (UTC) time scale using the ISO 8601 datetime and time zone basic notation yyyymmddThhmmss+|-hhmm.
writes time values as local time by appending a time zone offset difference between the local time and UTC, using the ISO 8601 basic time notation hhmmss+|-hhmm.
writes time values using the ISO 8601 basic notation hhmmssffff.
adjusts time values to the Coordinated Universal Time (UTC) and writes them using the ISO 8601 basic time notation hhmmss+|-hhmm.
prints numeric values, lining up decimal places for values of similar magnitude, and prints integers without decimals.
writes date values using the ISO 8601 extended notation yyyy-mm-dd.
writes the date from a SAS datetime value using the ISO 8601 extended notation yyyy-mm-dd.
writes datetime values in the ISO 8601 extended notation yyyy-mm-ddThh:mm:ss.ffffff.
writes datetime values in the Coordinated Universal Time (UTC) time scale using the ISO 8601 datetime and time zone extended notation yyyy-mm-ddThh:mm:ss+|-hh:mm.
writes time values as local time, appending the Coordinated Universal Time (UTC) offset for the local SAS session, using the ISO 8601 extended time notation hh:mm:ss+|-hh:mm.
writes time values using the ISO 8601 extended notation hh:mm:ss.ffffff.
adjusts time values to the Coordinated Universal Time (UTC) and writes the values using the ISO 8601 extended notation hh:mm:ss+|-hh:mm.
writes datetime values in the form mm/dd/yy<yy> hh:mm AM|PM. The year can be either two or four digits. This feature is new for SAS 9.2 Phase 2 and later.
produces percentages, using a minus sign for negative values.
writes a numeric value in the form nK for kilobytes. This feature is new for SAS 9.2 Phase 2 and later.
writes a numeric value in the form nKB for kilobytes. This feature is new for SAS 9.2 Phase 2 and later.
writes a numeric value in the form nKB for kilobytes, nMB for megabytes, or nGB for gigabytes. This feature is new for SAS 9.2 Phase 2 and later.
generates VMS and MicroFocus COBOL zoned numeric data.
The following formats were previously documented in other publications and are now part of this document:
writes a week number in decimal format by using the U algorithm.
writes a week number in decimal format by using the V algorithm.
writes a week number in decimal format by using the W algorithm.
The following format is enhanced:
In addition to writing dates in the form ddmmmyy or ddmmmyyyy, the DATEw. format now writes dates in the form dd-mmm-yyyy.
In the second maintenance release for SAS 9.2, best practices for custom interval names for date and time functions is new.
The following functions and CALL routines are new:
generates all combinations of the values of n variables taken k at a time in a minimal change order.
generates all permutations of the values of several variables in a minimal change order.
returns the inverse hyperbolic cosine.
returns the inverse hyperbolic sine.
returns the inverse hyperbolic tangent.
generates all combinations of the values of n variables taken k at a time in a minimal change order.
generates all combinations of the indices of n objects taken k at a time in a minimal change order.
generates all subsets of n items in a minimal change order.
converts an ISO 8601 interval to datetime and duration values, or converts datetime and duration values to an ISO 8601 interval.
generates all distinct combinations of the nonmissing values of n variables taken k at a time in lexicographic order.
generates all combinations of the indices of n objects taken k at a time in lexicographic order.
generates all distinct permutations of the nonmissing values of n variables taken k at a time in lexicographic order.
generates all distinct permutations of the nonmissing values of several variables in lexicographic order.
sorts the values of character arguments.
sorts the values of numeric arguments.
concatenates character or numeric values by using a delimiter to separate items and by adding quotation marks to strings that contain the delimiter.
returns a single character from a specified position in a character string.
counts the number of missing arguments.
counts the number of words in a character expression.
returns the result of a division that handles special missing values for ODS output.
returns the length of an environment variable.
returns the Euclidean norm of the nonmissing arguments.
computes financial calculations such as deprecation, maturation, accrued interest, net present value, periodic savings, and internal rates of return.
searches a character string for a word.
returns the first character in a character string.
returns the greatest common divisor for one or more integers.
returns the geodetic distance between two latitude and longitude coordinates.
generates all subsets of n items in a minimal change order.
returns a time interval that is aligned between two dates.
returns an interval based on three date or datetime values.
returns the shift interval that corresponds to the base interval.
returns 1 if a time interval is valid, and returns 0 if a time interval is invalid.
returns the smallest multiple that is exactly divisible by every number in a set of numbers.
computes the logarithm of the COMB function--that is, the logarithm of the number of combinations of n objects taken r at a time.
generates all distinct combinations of the nonmissing values of n variables taken k at a time in lexicographic order.
generates all combinations of the indices of n objects taken k at a time in lexicographic order.
generates all distinct permutations of the nonmissing values of n variables taken k at a time in lexicographic order.
generates all distinct permutations of the nonmissing values of several variables in lexicographic order.
computes the logarithm of the FACT (factorial) function.
returns the log of 1 plus the argument.
computes the logarithm of the PERM function--that is, the logarithm of the number of permutations of n objects, with the option of including r number of elements.
returns the Lp norm of the second argument and subsequent nonmissing arguments.
returns the result of the message digest of a specified string.
determines whether a software image exists in the version of SAS that you have installed.
returns the ordinate of a monotonicity-preserving interpolating spline.
renames a member of a SAS library, an external file, or a directory.
returns the sum of the absolute values of the nonmissing arguments.
removes or replaces all occurrences of a substring in a character string.
searches for a character value that is equal to the first argument, and returns the index of the first matching value.
searches for a numeric value that is equal to the first argument, and returns the index of the first matching value.
returns the geodetic distance between two ZIP code locations.
The descriptions of the arguments in the following functions are enhanced:
opens a directory, and returns a directory identifier value.
verifies the existence of a SAS library member.
opens an external file and returns a file identifier value.
verifies the existence of an external file that is associated with a fileref.
assigns or deassigns a fileref to an external file, a directory, or an output device.
verifies whether a fileref has been assigned for the current SAS session.
assigns or deassigns a libref for a SAS library.
verifies that a libref has been assigned.
opens a file by directory ID and member name, and returns either the file identifier or a 0.
returns the physical name of a SAS library or an external file, or returns a blank.
The following functions were previously in Risk Dimensions, and are now in Base SAS:
calculates the call price for European options on futures, based on the Black model.
calculates the put price for European options on futures, based on the Black model.
calculates the call price for European options, based on the Black-Scholes model.
calculates the put price for European options, based on the Black-Scholes model.
calculates the call price for European options on stocks, based on the Garman-Kohlhagen model.
calculates the put price for European options on stocks, based on the Garman-Kohlhagen model.
calculates the call price for European options on stocks, based on the Margrabe model.
calculates the put price for European options on stocks, based on the Margrabe model.
The following functions were previously in SAS/ETS, and are now in Base SAS:
returns the cycle index, given a date, time, or datetime value.
returns the date, time, or datetime interval at the next higher seasonal cycle, given a date, time, or datetime interval.
returns a recommended format, given a date, time, or datetime interval.
returns the seasonal index, given a date, time, or datetime interval and value.
returns the length of the seasonal cycle, given a date, time, or datetime interval.
The following functions were previously in SAS High-Performance Forecasting, and are now in Base SAS:
returns the date of the specified holiday for the specified year.
returns the date for the nth occurrence of a weekday for the specified month and year.
The following functions were moved from SAS Language Reference: Dictionary to the SAS/IML documentation:
calls an external routine and returns a character value (in the IML environment only).
calls an external routine and returns a numeric value (in the IML environment only).
calls an external routine without any return code (in the IML environment only).
The following functions and CALL routines are enhanced:
can now write floating-point numbers directly into memory on a 32-bit platform.
can now write floating-point numbers directly into memory on 32-bit and 64-bit platforms.
returns the position and length of a given word from a character expression.
now has new values for the basis argument, and has a reference to a document that is published by the Securities Industry Association.
now has an optional argument for a hexadecimal character delimiter.
now has an example that shows how leading and trailing spaces are handled.
can now have alternate delimiters. If you use an alternate delimiter, then INDEXW does not recognize the end of the text as the end data. Another example has also been added to the function.
now has a fifth argument in the syntax. Retail calendar intervals that are ISO 8601 compliant, and custom intervals have been added.
can now use retail calendar intervals that are ISO 8601 compliant.
are now able to use retail calendar intervals that are ISO 8601 compliant.
now has more information about memory limits.
now has sections that explain how to use the LIBNAME function with one, two, three, and four arguments.
has a new fourth argument. This argument specifies whether the first argument is a two-level name (data set name) or a filename.
returns the nth word from a character expression.
has been rewritten.
has an updated Comparisons section and a new example.
now has enhanced documentation for the U, V, and W descriptors.
now has information about Army Post Office (APO) and Fleet Post Office (FPO) codes.
The RX set of functions and CALL routines have been removed from the documentation. They have been replaced by a set of PRX functions and CALL routines, which have been available in previous versions of SAS, and which provide superior functionality.
The following table lists the RX functions and CALL routines and their PRX replacements:
RX Function | PRX Replacement |
---|---|
CALL RXCHANGE | CALL PRXCHANGE |
CALL RXFREE | CALL PRXFREE |
CALL RXSUBSTR | CALL PRXSUBSTR |
RXMATCH | PRXMATCH |
RXPARSE | PRXPARSE |
The SCANQ function and the CALL SCANQ routine have been removed from the documentation and replaced by the superior functionality of the SCAN function and CALL SCAN routine.
The following informats are new:
converts ASCII text to character data by using Base 64 encoding.
reads complete, truncated, and omitted forms of ISO 8601 duration, datetime, and interval values that are specified in either the basic or extended notations.
reads ISO 8601 duration, datetime, and interval values that are specified in the extended notation.
reads date values that are specified in the ISO 8601 basic notation yyyymmdd.
reads date values that are specified the ISO 8601 basic notation yyyymmdd and returns SAS datetime values where the time portion of the value is 000000.
reads datetime values that are specified in the ISO 8601 basic notation yyyymmddThhmmssffffff.
reads datetime values that are specified in the Coordinated Universal Time (UTC) time scale using the ISO 8601 datetime basic notation yyyymmddThhmmss+|-hhmm or yyyymmddThhmmssffffffZ.
reads time values that are specified in the ISO 8601 basic notation hhmmssffffff.
reads time values that are specified in the ISO 8601 basic time notation hhmmssfffff+|-hhmm or hhmmssffffffZ.
reads date values that are specified in the ISO 8601 extended notation yyyy-mm-dd.
reads date values that are specified in the ISO 8601 extended notation yyyy-mm-dd and returns SAS datetime values where the time portion of the value is 000000.
reads datetime values that are specified in the ISO 8601 extended notation yyyy-mm-ddThh:mm:ss.ffffff.
reads datetime values that are specified in the Coordinated Universal Time (UTC) time scale using the ISO 8601 datetime extended notation hh:mm:ss+|-hh:mm.fffff orhh:mm:ss.fffffZ.
reads Coordinated Universal Time (UTC) values that are specified in the ISO 8601 extended notation hh:mm:ss+|-hh:mm.fffff or hh:mm:ss.fffffZ and converts them to the local time.
reads time values that are specified in the ISO 8601 extended notation hh:mm:ss.ffffff.
reads time values that are specified in the ISO 8601 extended time notation hh:mm:ss+|-hh:mm.ffffff or hh:mm:ssZ.
reads zoned decimal data in which zeros have been left blank. This feature is new for SAS 9.2 Phase 2 and later.
reads numeric data that is appended to the letters K, M, or G. This feature is new for SAS 9.2 Phase 2 and later.
reads VMS and MicroFocus COBOL zoned numeric data.
The following informat is enhanced:
In addition to reading trailing plus (+) and minus (-) signs, the TRAILSGN informat now reads values that contain commas.
The following informats were previously documented in other publications and are now part of this document:
reads the format of the number-of-week value within the year and returns a SAS date value using the U algorithm.
reads the format of the number-of-week value within the year and returns a SAS date value using the V algorithm.
reads the format of the number-of-week value within the year and returns a SAS date value using the W algorithm.
The following statements are new:
enables you to execute the DATA or PROC step that immediately follows without considering the checkpoint-restart data.
enables you to access remote files by using the SFTP protocol.
enables IOM clients to manually track the progress of a segment of a submitted SAS program.
The following statements are enhanced:
The filename of a file that is located in an aggregate storage location and does not have a valid SAS name can be used as a fileref if the filename is enclosed in quotation marks.
The maximum line limit is now 6K.
Two new optional arguments enable you to do the following:
cause the execution of the submitted statements to be canceled.
suppress the output of all variables to the SAS log.
The TRANSCODE=NO attribute is not supported by some SAS Workspace Server clients. In SAS 9.2, if the attribute is not supported, variables with TRANSCODE=NO are replaced (masked) with asterisks (*). Before SAS 9.2, variables with TRANSCODE=NO were transcoded.
The BY statement honors the linguistic collation of data that is sorted by using the SORT procedure with the SORTSEQ=LINGUISTIC option.
Three new optional arguments enable you to do the following:
write a note to the SAS log for the beginning and end of each level of nesting DO statements.
specify the maximum number of nested LINK statements.
suppress the output of all variables to the SAS log.
Data set options can now be used with the dataset: argument tag.
Three new argument tags enable you to do the following:
maintain a summary count of hash object keys.
ignore duplicate keys when loading a data set into the hash object.
specify whether multiple data items are allowed for each key.
The filename of a file that is located in an aggregate storage location and does not have a valid SAS name can be used as a fileref if the filename is enclosed in quotation marks.
A new option enables you to specify a character string as an alternate delimiter (other than a blank) to be used for LIST output.
You can now specify RECFM=S (stream-record format).
You can now specify a file attachment without an extension.
A new option enables you to specify the priority of the e-mail message.
Seven new FTP options enable you to do the following:
specify the name of an authentication domain metadata object that references credentials (user ID and password) in order to connect to the FTP server without your having to explicitly specify the credentials.
specify that the member type of DATA is automatically appended to the member name when you use the DIR option.
enable autocall macro retrieval of lowercase directory or member names from FTP servers.
save the user ID and password after the user ID and password prompt are successfully executed.
specify the line delimiter to use for variable-record formats: carriage return followed by a line feed, a line feed only, or a NULL character.
specify the length of the FTP server response message.
in the second maintenance release for SAS 9.2, specify an FTP response wait time in milliseconds.
In SAS 9.2 Phase 2 and later, two new SFTP options enable you to do the following:
specify the fully qualified pathname and the filename of the batch file that contains the SFTP commands. These commands are submitted when the SFTP access method is executed.
specify an SFTP response wait time in milliseconds.
N can now be used as an alias for a stream-record format (RECFM=S).
Five new URL options enable you to do the following:
specify the name of an authentication domain metadata object that references credentials (user ID and password) in order to connect to the proxy or Web server without your having to explicitly specify the credentials.
specify a fileref to which the header information is written when a file is opened using the URL access method. The header information is the same information that is written to the SAS log.
specify a user name with which you can access the proxy server.
specify a password with which you can access the proxy server.
specify the line delimiter to use when RECFM=V.
For SAS 9.2 Phase 2 and later, the FILENAME statement, WebDAV Access Method is available for use in the z/OS operating environment.
The SASBAMW keyword in the FILENAME statement syntax has been changed to WEBDAV.
Three new WebDAV options enable you to do the following:
access directory files.
specify that a file extension is automatically appended to the filename when you use the DIR option.
retry lowercase directory or member names from WebDAV servers by using an autocall macro.
a new argument enables you to specify formatting options for the ODS HTML, RTF, and PRINTER(PDF) destinations.
The filename of a file that is located in an aggregate storage location and does not have a valid SAS name can be used as a fileref if the filename is enclosed in quotation marks.
A new option enables you to specify a character string as an alternate delimiter (other than a blank) to be used for LIST input.
A new optional argument specifies the type of device or the access method that is used if the fileref points to an input or output device or location that is not a physical file.
When you assign a libref to a file on a WebDAV server, the path (URL location), user ID, and password are associated with that libref. After the first libref is assigned, the user ID and password will be validated on subsequent attempts to assign another libref to the same library.
SAS will honor a lock request on a file on a WebDAV server only if the file is already locked by another user.
Two new WebDAV options enable you to do the following:
specify the name of an authentication domain metadata object that references credentials (user ID and password) in order to connect to the WebDAV server without your having to explicitly specify the credentials.
prompt the user for an ID and password.
a new argument enables you to specify at least two existing SAS data sets by using either a numbered range list or a named prefix list.
a new argument creates and names a variable that stores the name of the SAS data set from which the current observation is read. The stored name can be a data set name or a physical name. The physical name is the name by which the operating environment recognizes the file.
a new argument enables you to specify at least two existing SAS data sets by using either a numbered range list or a named prefix list.
added an argument that enables you to specify formatting options for the ODS HTML, RTF, and PRINTER(PDF) destinations.
The following system options are new:
specifies the level of optimization to perform during code optimization. This feature is new for SAS 9.2 Phase 2 and later.
specifies the output model type for the MODEL procedure.
specifies the level of compression for device drivers that support the Deflate compression algorithm.
specifies the maximum number of characters in a Program Editor line.
when sending an e-mail that uses SMTP, specifies whether the e-mail option FROM is required in either the FILE or the FILENAME statement.
specifies when operating system buffers that contain contents of permanent SAS files are written to disk.
specifies whether font embedding is enabled in Universal Printer and SAS/GRAPH printing.
specifies whether SAS/GRAPH devices that are based on the SASGDGIF, SASGDTIF, and SASGDIMG modules render fonts by using the operating system or by using the FreeType font engine.
specifies whether ODS styles can be used in the generation of graphs that are stored as GRSEG catalog entries.
specifies the browser to use for SAS Help and ODS output. This feature is new for SAS 9.2 Phase 2 and later.
specifies the name of the computer where the remote browser is to send Help and ODS output. This feature is new for SAS 9.2 Phase 2 and later.
specifies the port number for the remote browser client. This feature is new for SAS 9.2 Phase 2 and later.
specifies the highest port number that can be used by the SAS HTTP server for remote browsing. This feature is new for SAS 9.2 Phase 2 and later.
specifies the lowest port number that can be used by the SAS HTTP server for remote browsing. This feature is new for SAS 9.2 Phase 2 and later.
specifies an optional number of extra buffers to be allocated for navigating an index file. SAS automatically allocates a minimal number of buffers in order to navigate the index file. Typically, you do not need to specify extra buffers. However, using IBUFNO= to specify extra buffers could improve execution time by limiting the number of input/output operations that are required for a particular index file.
specifies a SAS data set that contains user-supplied holidays that can be used by the INTNX and INTCK functions. This feature is new for SAS 9.2 Phase 2 and later.
specifies the JPEG quality factor that determines the ratio of image quality to the level of compression for JPEG files processed by the SAS/GRAPH JPEG device driver.
specifies the default logical record length to use for reading and writing external files.
specifies whether text and graphics from PDF documents can be read by screen readers for the visually impaired.
specifies whether PDF documents can be assembled.
specifies whether PDF document comments can be modified.
specifies whether the contents of a PDF document can be changed.
specifies whether text and graphics from a PDF document can be copied.
specifies whether PDF forms can be filled in.
specifies the page layout for PDF documents.
specifies the page viewing mode for PDF documents.
specifies the password to use to open a PDF document and the password used by a PDF document owner.
specifies the resolution to print PDF documents.
specifies the printing permissions for PDF documents.
specifies the domain name of the primary authentication provider. This feature is new for SAS 9.2 Phase 2 and later.
specifies whether SAS executes R language statements.
specifies the starting position to begin reading a file specified in a %INCLUDE statement, an autoexec file, or an autocall macro file with a variable length format.
specifies whether the SORT procedure verifies that a data set is sorted according to the variables in the BY statement when the sort indicator metadata indicates a user-specified sort order.
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.
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.
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 for PROC SQL to consider optimizing the PUT function in a query.
for the SQL procedure when the SQLREDUCEPUT= system option is set to NONE, specifies the minimum 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.
specifies whether the SQL procedure can process queries that use remerging of data.
specifies whether the SQL procedure keeps or discards updated data if errors occur while the data is being updated.
specifies whether to run a batch program in checkpoint-restart mode. In checkpoint-restart mode, if a batch program terminates during execution, the program can be restarted beginning with the DATA or PROC step that was executing when the program terminated.
specifies the libref which identifies the library that contains the checkpoint-restart data.
specifies whether to start a batch program using the checkpoint data.
specifies whether to display the paging control buttons and an index in a multi-page SVG document.
specifies the height of the viewport unless the SVG output is embedded in another SVG output; specifies the value of the HEIGHT attribute of the outermost <svg> element in the SVG file.
specifies whether to force uniform scaling of SVG output; sets the preserveAspectRatio attribute on the outermost <svg> element.
specifies the title in the title bar of the SVG output; specifies the value of the <title> element in the SVG file.
specifies the coordinates, width, and height that are used to set the viewBox attribute on the outermost <svg> element, which enables SVG output to scale to the viewport.
specifies the width of the viewport unless the SVG output is embedded in another SVG output; specifies the value of the width attribute of the outermost <svg> element in the SVG file.
specifies the x-axis coordinate of one corner of the rectangular region into which an embedded <svg> element is placed; specifies the x attribute on the outermost <svg> element of the SVG file.
specifies the y-axis coordinate of one corner of the rectangular region into which an embedded <svg> element is placed; specifies the y attribute on the outermost <svg> element of the SVG file.
specifies whether to enable compression of Universal Printer and SAS/GRAPH print files.
specifies the type of message to write to the SAS log if the length of a variable is increased when the input data set is read using the SET, MERGE, UPDATE, or MODIFY statements. This option is new for SAS 9.2 Phase 2.
The following system options have a new argument:
For data sets, automatically repairs the data set without the indexes and integrity constraints, deletes the index file, updates the data file to reflect the disabled indexes and integrity constraints, and limits the data file to be opened only in INPUT mode.
specifies whether analytic derivatives are computed for user-defined functions.
The following system options are enhanced:
SAS writes the autoexec file statements to the SAS log.
You can now specify multiple Simple Mail Transfer Protocol (SMTP) mail servers.
In the third maintenance release for SAS 9.2, you can use encoded e-mail passwords. These passwords are encoded with PROC PWENCODE.
All e-mail system options can now be set at any time. They are no longer restricted to being set when SAS starts.
The default value for the OVP system option is now NOOVP.
You can specify the name of a Universal Printer to which the SYSPRINTFONT system option setting applies.
The syntax for the following system options is different when these system options are used after SAS starts, as compared to the syntax that is used when SAS starts. For the syntax to use when SAS starts, see the documentation for your operating environment. This feature is new for SAS 9.2 Phase 2:
Appends a value to the existing value of the specified system option.
Inserts the specified value as the first value of the specified system option.
The following system options are no longer supported and have been removed from the documentation:
no longer has an impact on the settings for the LINESIZE, OVP, PAGESIZE, and SOURCE system options when SAS executes.
SAS 9.2 no longer supplies U.S. Census Tract maps for SAS/GIS.
The following system option has been deleted from SAS:
For SAS 9.2 Phase 2 and later, the Java object language elements in Java Object Language Elements are now documented in SAS Language Reference: Dictionary.
The following hash and hash iterator methods are new:
removes all items from the hash object without deleting the hash object instance.
determines whether two hash objects are equal.
sets the current list item to the next item in the current key's multiple item list and sets the data for the corresponding data variables.
sets the current list item to the previous item in the current key's multiple item list and sets the data for the corresponding data variables.
determines whether there is a next item in the current key's multiple data item list.
determines whether there is a previous item in the current key's multiple data item list.
consolidates the FIND and ADD methods into a single method call.
removes the data that is associated with the specified key's current data item from the hash object.
replaces the data that is associated with the current key's current data item with new data.
specifies a starting key item for iteration.
retrieves the summary value for a given key from the hash table and stores the value in a DATA step variable.
retrieves the summary value for the current data item of the current key and stores the value in a DATA step variable.
The following hash object method is enhanced:
added an optional argument that enables recovery from memory failure when loading a data set into a hash object.
The following hash object attribute is new:
returns the number of items in the hash object.
The _NEW_ statement has been reclassified as an operator.
For SAS 9.2 Phase 2 and later, the items in a multiple data item list are now maintained in the order in which you insert them.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.