Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

horizontally list all variables

Reply
Contributor
Posts: 50

horizontally list all variables

there are many variables in the dataset, is there a way to list all variables in a dataset horizontally?

Respected Advisor
Posts: 3,777

Re: horizontally list all variables

proc contents SHORT

New Contributor
Posts: 2

Re: horizontally list all variables

Love this!  It will work great for copying vars into a keep, drop, or retain statement.

PROC Star
Posts: 7,363

Re: horizontally list all variables

Conversely, you could automate that process a bit with the method described in the following paper: http://support.sas.com/resources/papers/proceedings10/046-2010.pdf

Ask a Question
Discussion stats
  • 3 replies
  • 288 views
  • 1 like
  • 4 in conversation