Help using Base SAS procedures

PROC CHART - additional output sorting

Reply
N/A
Posts: 1

PROC CHART - additional output sorting

Using SAS 9.1.3 Service Pack 4 for MVS

Producing a HBAR chart for Accounts. There are perhaps 500 accounts. I have specified DESCENDING for the order. However I would like to further sort the ouput so accounts with like observations will be displayed alphabetically.

Below is the code:

PROC SORT DATA=ADD; BY ACCNT;                                      

PROC SORT DATA=DISCO; BY ACCNT;                                    

                                                                   

                                                                   

PROC PRINTTO UNIT=10;                                              

PROC CHART DATA=ADD; HBAR ACCNT / DESC;                            

TITLE1 '**************************************'; 

TITLE2 '==>  ADD ORDERS CLOSED LAST MONTH  <=='; 

TITLE3 '**************************************'; 

                                                                   

PROC CHART DATA=DISCO; HBAR ACCNT / DESC;                          

TITLE1 '****************************************';

TITLE2 '==>  DISCO ORDERS CLOSED LAST MONTH  <==';

TITLE3 '****************************************';

Ask a Question
Discussion stats
  • 0 replies
  • 513 views
  • 0 likes
  • 1 in conversation