Example using SAS mathematical functions to transform ...

Each new variable is created using an assignment statement, in which the new variable is named on the left hand side of the equals sign, and the function or expression is on the right hand side. These new variables must be created between the data statement and the run statement of a data step to be valid. ................
................