How to perform an operation on all numeric or all character variables in a SAS data set

June 27, 2017
By

This post was kindly contributed by SAS Learning Post - go there to comment and to read the full post.

In a previous blog, I demonstrated a program and macro that could identify all numeric variables set to a specific value, such as 999. This blog discusses an immensely useful technique that allows you to perform an operation on all numeric or all character variables in a SAS data set. […]

The post How to perform an operation on all numeric or all character variables in a SAS data set appeared first on SAS Learning Post.

This post was kindly contributed by SAS Learning Post - go there to comment and to read the full post.

Tags: , , , ,

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

Sponsors







Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.