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:
|