NC STATE University
Department of Statistics

Fix for window colors in UNIX - SAS 6.12

System: UNIX version 6.11, 6.12

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.


Method 1: Instructions for pull-down menu

Method 2: Instructions for macro.
%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)

Instructions to "grow" and save the window.

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 method 2. Pull-down method

Go to: SAS Consulting Home Page
           Statistics Department Home Page

Maintained by: Sandy Donaghy and Joy Smith
Last Modified: January 23, 1998