Hello,
I working on geocoding some data and the process runs and sasy that the zip lookup data is sashelp.zipcode.
So I went and retrived the latest file from SAS's website and I want to update the sashelp.zipcode file with the latest version so my geocoding is done with the latest version.
I have tried doing the following and creating a backup of the current zipcode file, but I keep getting an error.
data sashelp.zipcode_old ;
set sashelp.zipcode ;
run ;
ERROR: User does not have appropriate authorization level for library SASHELP.
I'm using SAS 9.4 TS1M2 on a windows 7 computer. I have already given myself write permissions on
C:\Program Files\SASHome\SASFoundation\9.4\core\sashelp and it still gives me an error.
Thank you
While dangerous, I've always made the change directly to the actual sashelp file. Of course, I always keep a copy of the original so I can re-instate it if what I change/add doesn't work.
As such, in SAS, I create a new copy of zipcode file in a permanent library that I have read/write access, I make the desired additions to that file.
Then, I exit SAS and, from Window's Explorer, move that file into the sashelp directory. If it is the first time I;m doing it, first (also in Window's Explorer) I make a copy of the sashelp.zipcode file in the sashelp directory, calling it sashelp_original.
HTH,
Art, CEO, AnalystFinder.com
While dangerous, I've always made the change directly to the actual sashelp file. Of course, I always keep a copy of the original so I can re-instate it if what I change/add doesn't work.
As such, in SAS, I create a new copy of zipcode file in a permanent library that I have read/write access, I make the desired additions to that file.
Then, I exit SAS and, from Window's Explorer, move that file into the sashelp directory. If it is the first time I;m doing it, first (also in Window's Explorer) I make a copy of the sashelp.zipcode file in the sashelp directory, calling it sashelp_original.
HTH,
Art, CEO, AnalystFinder.com
Art,
Thank you so much. That solution worked perfect.
I created a backup and copied over the new version of the data and then opened sas and the new version was there.
Thank you,
Jerry
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.