DS2 is a language in the SAS system which permits data step-like processing within an object oriented framework. It has particular uses in multithreading and large data processing connecting to Teradata warehouses and other similar data warehouses.
DS2 was introduced to the SAS system with Base SAS version 9.4, and is a proprietary SAS language. It is object oriented, has support for all of the ANSI SQL data types, can use embedded FedSQL syntax, and has advanced support for multithreading.
For more information, see the SAS DS2 Documentation.