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;
I found the answer: the path is C:\Program Files\SASHome\SASFoundation\9.3
this is an autoexec program....forgot to mention that.
I found the answer: the path is C:\Program Files\SASHome\SASFoundation\9.3
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.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.