Date: Sun, 4 Oct 2009 14:25:54 -0400
Reply-To: msz03@albany.edu
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Mike Zdeb <msz03@ALBANY.EDU>
Subject: Re: Dynamic column ordering
Content-Type: text/plain;charset=iso-8859-1
ni ...
so ... what is the correct order ???
if there's a rule, you could most likely get SAS to write the RETAIN statement for you
based on the data used each month
--
Mike Zdeb
U@Albany School of Public Health
One University Place
Rensselaer, New York 12144-3456
P/518-402-6479 F/630-604-1475
> I've created a report that results from a transpose of year/month. Since the columns look like the following: 200701 200702.....200909 they are
> not coming out in the correct order. I don't want to hard-code a retain statement in because I don't want to have to update the statement every
> month. What is a good way of correctly ording the columns?
>
> Thanks,
> Dave
>
|