Using Assignment Statements
Assignment statements create matrices by evaluating expressions and assigning the results to a matrix. The expressions can be composed of operators (for example, the matrix addition operator (+)), functions (for example, the INV function), and subscripts. Assignment statements have the following general form:

where
result is the name of the new matrix and
expression is an expression that is evaluated. The resulting matrix automatically acquires the appropriate dimension, type, and value. Details about writing expressions are described in the section
"Using Matrix Expressions".
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.