I want to print values of all numeric variables (40 variables), so I can use the code below. But I want to suppress one variable to be printed. How can I do that?
proc print;
var _numeric_;
run;
Similarly, in another case, I want to output all numeric variables except one variable. How can I do that?
You can specify dataset name which you want to print and after that name add option which variable you want to drop.
proc print data=yourdata (drop=c);
var _numeric_;
run;
Regards,
Ieva
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!