LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 1996, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 7 Feb 1996 22:36:51 GMT
Reply-To:     Rod Dunn <rldunn@UMICH.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Rod Dunn <rldunn@UMICH.EDU>
Organization: University of Michigan
Subject:      Re: Counting the # of variables in a SAS dataset

You actually don't even need code to tell the number of variables in a data step. You can just look in the log after you submit a data step and it will tell you how many variables are in the data set. However, if you would like nicer output, you can run the data set through PROC CONTENTS, which gives you the number of variables among other things. The code is:


Back to: Top of message | Previous page | Main SAS-L page