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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.