Date: Wed, 19 Oct 2005 13:47:22 -0500
Reply-To: "Workman, Rob" <Rob.Workman@SORIN-NA.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Workman, Rob" <Rob.Workman@SORIN-NA.COM>
Subject: Re: Making a dynamic slist entry in a SAS Catalog
Content-Type: text/plain; charset="us-ascii"
You could set the value to a macro variable in a submit block at run
time and then use the symget function to retrieve the value.
Submit continue;
%let suserid = %sysuserid;
Endsubmit;
slistentry = 'archive.lists.'||symget('suserid')||'.slist';
Kind regards,
Rob Workman
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
John Bentley
Sent: Wednesday, October 19, 2005 12:51 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Making a dynamic slist entry in a SAS Catalog
I have an FRAME application that has a drop-down list component named
dirList that contains UNIX directory names. Users can create
directories
from the frame and they are immediately added to dirList. dirList now
is
populated from an SCL list created from an slist entry stored in the
catalog.
All users now see the the same list of directories. I want dirList to
contain only those directories that the specific user has write access
to.
I've figured out how in the frame's init: section to populate a SAS data
set with user-specific directories and I know how to put them into an
SCL
list that dirList can use and I know how to create and update an slist
catalog entry.
What I need to know is how to create a user-specific slist catalog entry
based on the value of %sysuserid. Due to macro resolution timing, I
can't
use a reference like archive.lists.dirList%sysuserid.slist .
Clear as mud, right? Any suggestions? Thanks.
John
----------------------------------------------------------------------------------------------
This message contains confidential information intended only for the use of the addressee(s).
If you are not the addressee, or the person responsible for delivering it to the addressee, you
are hereby notified that reading, disseminating, distributing or copying this message is strictly
prohibited. If you have received this message by mistake, please notify us, by replying to the
sender, and delete the original message immediately thereafter. Thank you.