Hello All, I am new to SAS and I am facing a problem. I have a database with three columns, Code,Date,Volume. Ihave them sorted by code and date. When I transpose the data and setting the dates as variables they get mixed. So instead of having _31DEC2001, _31JAN2002, _28FEB2002 and so on I get: _30APR2008, _31OCT2002, _31MAR2003 etc. Is there any way to arrange the variables(columns) so they will be in the correct date order? I am attaching a sample file I am transposing it as follows: proc transpose data=yuri out=yuri2; by code; id date; var volume; run;
... View more