Argument Types Supported in Public Methods

Overview

SAS Micro Analytic Service supports a subset of the DS2 data types for use as public method arguments. Data types in the unsupported list can still be used in the body of a (public or private) DS2 package method, and as arguments to private methods. The lists of publicly supported and unsupported data types are given below.
Note: Any additional types added to the DS2 programming language in future releases should be considered unsupported unless otherwise stated in the SAS Micro Analytic Service documentation.

Supported DS2 Data Types

The following are the supported DS2 data types:
  • BIGINT
  • CHAR(n)
  • DOUBLE
  • FLOAT
  • INTEGER
  • NCHAR(n)
  • NVARCHAR(n)
  • REAL
  • SMALLINT
  • VARCHAR(n)

Unsupported DS2 Data Types

The following are the unsupported DS2 data types:
  • BINARY(n)
  • DATE
  • DECIMAL(p, s)
  • NUMERIC(p, s)
  • TIME(p)
  • TIMESTAMP(p)
  • TINYINT
  • VARBINARY(n)
  • PACKAGE