Date: Sun, 4 Oct 2009 14:25:54 -0400
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Mike Zdeb <msz03@ALBANY.EDU>
Subject: Re: Dynamic column ordering
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
U@Albany School of Public Health
One University Place
Rensselaer, New York 12144-3456
> 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?