02-13-2017 01:30 AM
I have persisting, and annoying, little problem; My code loops loops number of countries through a macro loop;
... /*Some computations */
/*And so forth*/
Now every now and then. (Maybe once a month) In middle of the loop I get error
ERROR: User does not have appropriate authorization level for library WORK.
Now this is very puzzling since prior loop had all the access and suddenly it got revoked. As far as I can see, it does happen in particular country or datafile.
I'm running on windows platform and sas version is 9.4. No, the whole code is not for review, but any help would be greatly appreciated.
02-13-2017 03:51 AM
This: https://communities.sas.com/t5/Base-SAS-Programming/Error-User-does-not-have-appropriate-authorizati... could be helpful, especially the reference to http://support.sas.com/kb/40/459.html
02-13-2017 04:13 AM
Note 40459 is specifically naming MS Security Essentials and MS Forefront, so you should look if one of those is active on your VMs.
Yet another thing I never have to worry about (our SAS server runs on AIX).