SAS Data Sets Manipulations
Posted on 2011-03-24
How may I read and output a variable value?
For example, I would like to read the value of variable "Var09" in the very first record of the dataset "Data1" and then output that value of "Var09" in my message.
This is what I have so fa, but I am not really sure how can I make "Var09" to be equal to my counter "number" that I output in my message.
set lib. Data1;
Var09 = "number";
file lib.messages mod;
put "Total count is " number;