Explain about PUT statement and give some examples- PUT is a flexible tool in the data step programmers toolkit.
Ex :- PUT one two three - Writes the values of three variables out separated by a space - PUT 132*’_’ – Writes 132 underscores - PUT Var 1 -5 – The value of Var is displayed from column 1 through 5 - PUT _all_ - Writes the values of all variables including _error_and_n_ - PUT one two three @ - Writes the values of three variables out separated by a space and keep the line open. So that next PUT statement will continue on.
|