BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
GreggB
Pyrite | Level 9

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;

1 ACCEPTED SOLUTION

Accepted Solutions
GreggB
Pyrite | Level 9

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

View solution in original post

3 REPLIES 3
GreggB
Pyrite | Level 9

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

GreggB
Pyrite | Level 9

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

Peter_C
Rhodochrosite | Level 12

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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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