What's New in SAS 9.3 Functions and CALL Routines

Overview

The SAS functions and CALL routines are now published as a separate document. They are no longer part of the SAS Language Reference: Dictionary. For more information, see Changes to SAS Language Reference: Dictionary.
The ability to call Web services in the DATA step is a new feature. For this feature, six new SOAPxxx functions were added. In addition, several other new functions are new, and enhancements to existing functions were added.

New Functions and CALL Routines

The following functions and CALL routines are new:
permutes the values of the arguments, and returns a random combination of k out of n values.
returns the effective annual interest rate.
checks the validity of a character string for use as a SAS member name.
returns the nominal annual interest rate.
returns the balance of periodic savings by using variable interest rates.
calls a Web service by using basic Web authentication; credentials are provided in the arguments.
calls a Web service by using basic Web authentication; credentials for the authentication domain are retrieved from metadata.
calls a SAS registered service by using WS-Security authentication; credentials are provided in the arguments.
calls a SAS registered Web service by using WS-Security authentication; credentials are provided in the arguments. The Registry Service is called directly to determine how to locate the Security Token Service.
calls a Web service by using WS-Security authentication; credentials are provided in the arguments.
calls a Web service by using WS-Security authentication; credentials for the provided authentication domain are retrieved from metadata.
returns the quantile from a distribution when you specify the right probability (SDF).
returns an indication of the existence of an operating environment variable.
returns the equivalent of a reference amount at a base date by using variable interest rates.

Enhancements to Existing Functions

The following enhancements were made to existing functions:
  • The GENPOISSON and TWEEDIE distributions were added to the following functions:
    • CDF
    • PDF
    • SDF
    • LOGCDF
    • LOGPDF
    • LOGSDF
    • QUANTILE
  • A new argument, seasonality, was added to the INTCYCLE, INTINDEX, and INTSEAS functions. The seasonality argument enables you to have more flexibility in working with dates and time cycles. For more information, see the INTCYCLE Function, INTINDEX Function, and INTSEAS Function.
  • A new option that computes age was added to the YRDIF function. For more information, see the YRDIF Function.
  • An explanation about SAS session encoding and UTF-8 encoding was added to the URLDECODE and URLENCODE functions. For more information, see the URLDECODE Function, and URLENCODE Function.
  • In the GETOPTION function, you can use the following options:
    • The DEFAULTVALUE option obtains the default shipped value for a system option. The value can be used to reset a system option to its default.
    • The HEXVALUE option returns a system option value as a hexadecimal value.
    • The LOGNUMBERFORMAT option returns a system option numeric value. The punctuation that is used is dependent on the language locale.
    • The STARTUPVALUE option returns the system option value that was used to start SAS either on the command line or in a configuration file.

Documentation for Existing Functions and Concepts

The documentation for the following five functions was moved from the SAS/ETS User’s Guide to SAS Functions and CALL Routines: Reference:
returns the cumulative interest paid on a loan between the start and end period.
returns the cumulative principal paid on a loan between the start and end period.
returns the interest payment for a given period for a constant payment loan or the periodic savings for a future balance.
returns the periodic payment for a constant payment loan or the periodic savings for a future balance.
returns the principal payment for a given period for a constant payment loan or the periodic savings for a future balance.
In the second maintenance release for SAS 9.3, the following enhancements were made to the documentation:
  • The FINANCE function now includes documentation for ISPMT, which calculates the interest that is paid during a specific period of investment.
  • A section about using the DATA step with custom time intervals was added to the documentation. This section includes examples that use the INTNX and INTCK functions and the INTERVALDS system option.

Changes to SAS Language Reference: Dictionary

Prior to 9.3, this document was part of SAS Language Reference: Dictionary. Starting with 9.3, SAS Language Reference: Dictionary has been divided into seven documents: