Date: Wed, 9 Feb 2005 14:00:27 -0800
Reply-To: Jared <jaredhellman@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jared <jaredhellman@GMAIL.COM>
Subject: proc freq - number of vars I need to cross will vary
Content-Type: text/plain; charset="iso-8859-1"
Hi all, I was wondering if there was an easy way to set up a proc freq
(without using a macro) which crosses a varying number of variables.
Here's the setup to show you what I mean...
I have a dataset which will have a varying number of variables:
techdx_1 techdx_2 techdx_3 . . . techdx_N
The macro variable NUMDX will hold the number N
I want to cross all the techdx variables in a single table in a proc
freq. I tried
proc freq data=mydata;
but this creates a table for each techdx variable. Remember I need to
do this without writing a macro if possible.