Help using Base SAS procedures

Anyone running 9.3? Need help with format library

Accepted Solution Solved
Reply
Super Contributor
Posts: 268
Accepted Solution

Anyone running 9.3? Need help with format library

I used the following program when I used 9.2 so that these formats would load automatically.  I moved the program to the following location: C:\Program Files\SAS\SharedFiles\SGI\9.3.  It still doesn't work.  Does anyone know where to put the program?

libname formats 'H:\SAS\formats';

proc format library=formats;
   *** SCHOOL NAMES ***;
   value $ schfmt
006='Walhalla Middle' 029='Oakway Intermediate' 030='West-Oak Middle' 012='Keowee Elementary'
013='Northside Elementary' 016='James M Brown Elementary' 017='Ravenel Elementary'
020='Tamassee Elementary' 022='Walhalla Elementary'
023='Westminster Elementary' 031='Blue Ridge Elementary'
026='Seneca Middle' 027='Fair-Oak Elementary' 028='Orchard Park Elementary'
005='Seneca High' 003='Tamassee-Salem High' 007='Walhalla High' 008='West-Oak High' 750='Code Academy';
   value  psfmt
6='Walhalla Middle' 29='Oakway Intermediate' 30='West-Oak Middle' 12='Keowee Elementary'
13='Northside Elementary' 16='James M Brown Elementary' 17='Ravenel Elementary'
20='Tamassee Elementary' 22='Walhalla Elementary'
23='Westminster Elementary' 31='Blue Ridge Elementary'
26='Seneca Middle' 27='Fair-Oak Elementary' 28='Orchard Park Elementary'
5='Seneca High' 3='Tamassee-Salem High' 7='Walhalla High' 8='West-Oak High'
995='Hamilton Career Center' 750='Alternative School';

value mapfmt
6='Walhalla Middle' 29='Oakway Intermediate' 30='West-Oak Middle' 12='Keowee Elementary'
13='Northside Elementary' 16='Brown Elementary' 17='Ravenel Elementary'
20='Tamassee-Salem Elementary' 22='Walhalla Elementary'
23='Westminster Elementary' 31='Blue Ridge Elementary'
26='Seneca Middle' 27='Fair Oak Elementary' 28='Orchard Park Elementary'
5='Seneca High' 3='Tamassee-Salem High' 7='Walhalla High' 8='West-Oak High'
750='Alternative School' 99='Wilderness Camp'
;
run;
libname formats 'H:\SAS\formats';
options fmtsearch=(library formats);
run;


Accepted Solutions
Solution
‎11-10-2011 12:09 PM
Super Contributor
Posts: 268

Anyone running 9.3? Need help with format library

I found the answer:  the path is C:\Program Files\SASHome\SASFoundation\9.3

View solution in original post


All Replies
Super Contributor
Posts: 268

Anyone running 9.3? Need help with format library

this is an autoexec program....forgot to mention that.

Solution
‎11-10-2011 12:09 PM
Super Contributor
Posts: 268

Anyone running 9.3? Need help with format library

I found the answer:  the path is C:\Program Files\SASHome\SASFoundation\9.3

Valued Guide
Posts: 2,175

Anyone running 9.3? Need help with format library

When first started SAS will look for programs in the location defined by the option

-SASINITIALFOLDER

sounds like the default for that must have changed

I have both 9.2 and 9.3 installed. Programs are never included with default paths. and never a problem.

So I recommend that approach.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 134 views
  • 0 likes
  • 2 in conversation