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

  • BIGINT
  • CHAR(n)
  • DOUBLE
  • INTEGER
  • NCHAR(n)
  • NVARCHAR(n)
  • VARCHAR(n)

Unsupported DS2 Data Types

  • BINARY(n)
  • DATE
  • DECIMAL(p, s)
  • NUMERIC(p, s)
  • PACKAGE
  • TIME(p)
  • TIMESTAMP(p)
  • TINYINT
  • VARBINARY(n)