DATA output-dataset; ARRAY array-name n variable1 variable2 ...; /* array manipulation statements */ RUN;
1. Data Step The DATA step is used to create and manipulate data in SAS. It is the primary step in SAS programming where data is read, processed, and written to a SAS dataset. Sas Programming 2 Data Manipulation Techniques Pdf 17
DATA sales_merged; MERGE sales customer; BY customer_id; RUN; The UPDATE statement is used to update a SAS dataset with new values from another dataset. DATA output-dataset; ARRAY array-name n variable1 variable2