The DS2 programming language
As described in SAS® 9.4 Programming Documentation / DS2 Reference - What is DS2(http://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.2&docsetId=ds2ref&docsetTarget=p0qrslgyjx5ti6n), The DS2 language shares core features with the DATA step. However, DS2's capabilities extend far beyond those of the DATA step. DS2 is a procedural language that has variables, scope, methods, packages, control flow statements, table I/O statements, and parallel programming statements. Methods and packages give DS2 modularity and data encapsulation. DS2 enables you to insert SQL directly into the SET statement, thus blending the power of two powerful data manipulation languages.
DS2 intersects with the SAS data step; however, it supports much more than character and numeric datatypes. DS2 supports the following datatypes: BIGINT
, BINARY(n)
, CHAR(n)
, DATE
, DECIMAL|NUMERIC(p,s)
, DOUBLE
, FLOAT
, INTEGER
, NCHAR(n)
, NVARCHAR(n)
, REAL
, SMALLINT
, TIME(p)
, TIMESTAMP...