SAS logging
2 answers
In the data step, the PUT and PUTLOG functions will be logged using the data step variables. You cannot use a function directly, but if you assign a value to a variable, you can write that variable.
data _null_;
x=1;
y = probnorm(x);
put "Probnorm is " y=;
run;
While you can do this with% PUT and% SYSFUNC, they have a significant limitation in that they cannot access data step variables (without a lot of work).
+4
source to share