BookmarkSubscribeRSS Feed
Pinegulf
Calcite | Level 5

Good day,

 

I have persisting, and annoying, little problem; My code loops loops number of countries through a macro loop;

 

%macro do_stuff(country);

... /*Some computations */

%mend;

 

%do_stuff(UK);

%do_stuff(FR);

%do_stuff(AT);

/*And so forth*/

 

Now every now and then. (Maybe once a month) In middle of the loop I get error 

Quote;

ERROR: User does not have appropriate authorization level for library WORK.

/quote

 

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. 

 

Many thanks.

3 REPLIES 3
Pinegulf
Calcite | Level 5

Thanks for the input. Only antivirus software running is windows' own. (Since they are virtual machines.) Gotto keep digging.

Kurt_Bremser
Super User

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).

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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