Date: Thu, 9 Apr 2009 10:30:19 -0400
Reply-To: Michael Raithel <michaelraithel@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Michael Raithel <michaelraithel@WESTAT.COM>
Subject: Re: Blocked user access
Content-Type: text/plain; charset="us-ascii"
Yenny Lyne posted the following:
> Hi all,
> I would like to temporarily block user access to library via
> Enterprise Guide. Is there a way to disable access
> temporarily instead of deleting user account in SMC ?
Yenny, if Alex's suggestion does not pan out, try mine. A brute force way to do this would be to simply rename the library directory. So, if it is named:
...rename it to:
Then, the hapless person (or persons) who is the object of the blocking effort will not be able to get to it via the already-defined LIBNAME. You could use the SYSTEM call routine or function to rename the directory, so that you are keeping everything within SAS code.
Could that work for you?
Yenny, best of luck in all of your SAS endeavors!
I hope that this suggestion proves helpful now, and in the future!
Of course, all of these opinions and insights are my own, and do not reflect those of my organization or my associates. All SAS code and/or methodologies specified in this posting are for illustrative purposes only and no warranty is stated or implied as to their accuracy or applicability. People deciding to use information in this posting do so at their own risk.
Michael A. Raithel
"The man who wrote the book on performance"
Author: Tuning SAS Applications in the MVS Environment
Author: Tuning SAS Applications in the OS/390 and z/OS Environments, Second Edition
Author: The Complete Guide to SAS Indexes
Reality is not always probable, or likely. - Jorge Luis Borges