
Department of Statistics
Window colors are incorrect for people who have used SAS 6.09 and then use SAS 6.12. The major problem is the error color in the SAS LOG does not show up. Another window color problem is the highlight color for marking text is white against a white background. All window color problems can be solved by running the following macro or deleting the WSAVE entries in the PROFILE catalog by pull down menus. The macro deletes any existing WSAVE entries in your profile. The SAS 6.12 default window colors will be used in the future. The next time you invoke SAS, the colors will be correct, but the window size will be smaller than SAS 6.09. Instructions to "grow" the window are also included.
%macro test(lib,cat,type);
proc sql noprint;
select count(objname) into : num
from dictionary.catalogs
where libname=%upcase("&lib") and memname=%upcase("&cat")
and objtype=%upcase("&type");
select objname into :name1 - : name%left(&num)
from dictionary.catalogs
where libname=%upcase("&lib") and memname=%upcase("&cat")
and objtype=%upcase("&type");
quit;
proc catalog cat=&lib..&cat;
delete
%do i=1 %to #
&&name&i
%end;
/et=wsave;
quit;
%mend;
%test(sasuser,profile,wsave)
If you wish to save the window size in the same session that you execute the macro, then you need to first close and reopen each window after executing the macro and before executing the following instructions. You need to "grow" and save each window (PGM, LOG, OUT) separately.
1. Command method2. Pull-down method
- With the mouse, grow the window to the desired size
- On the command line, enter
WSAVE
- With the mouse, grow the window to the desired size
- click on
View
Change display
Save attributes