BookmarkSubscribeRSS Feed
Allan_dk
Quartz | Level 8

What is the best way to let users share data in EG.

Scenario: Anthony and Benjamin, Carl, Daniel, Ethan

In EG Anthony uses som data on the server SASApp and creates at little query or two. By default this is stored as WORK.QUERY_FOR_CLASS_0001.

The next day Anthony, Benjamin, Carl, Daniel and Ethan wil use this data to do some more reporting, but Anthony is done for today.

Anthony then closes EG and it warns him "This project has references to temporary data......data will be deleted...".

Anthony has to sace the data because the source data changes over night and he can't recreate the dateset tomorrow.

Today we do the following:

Anthony uses "Task/Download datafiles to PC", and store i locally on the pc.

Anthony then sends it by email to Benjamin, C, D and E.

Benjamin uses "Task/Upload datafiles to PC". So do C, D and E.

As long as they work on the project they have to keep the files stored locally on the PC.

We use SAS 9.3 and EG 5.1.

6 REPLIES 6
ballardw
Super User

Permanent libraries accessible to the users.

Allan_dk
Quartz | Level 8

Made a libname where the team has read and write access.

Anthony is able to store data in the library.

But the data don't show up in SAS Folders.

Anthony has to run the Update Metadata on the library, before it shows up.

Is this still part of best practice?

For the user it seems like unnecessarystep.

And to delete data, the user has to run task "Delete data set and formats" and then Update Metadata again.

In almost every other programs you can just right click and select "Delete" or somthing that easy.

Kurt_Bremser
Super User

If you have a metadata-assigned library, then the datasets in that library must also be handled by the metadata, and that is why the update metadata step is necessary.

If you have a simple libname lib 'path'; statement in one of the autoexec files, a right-click on the library in the server list and refresh is sufficient.

SASKiwi
PROC Star

If you assign SAS libraries in metadata  with the AssignMode = 2 attribute in SMC then tables do not need to be registered in metadata to be visible in the EG server list. A refresh of the library will show any newly-created tables.

This technique is explained here:

http://support.sas.com/resources/papers/proceedings13/420-2013.pdf

Allan_dk
Quartz | Level 8

Thanks

The users find all there data through metadata/SAS Folders. I can teach them to go look at the serverlist and find data through libname, when they are looking for data created by other users, and not data from the dwh.

But it is inconsistant, to have data listed in two different areas. :smileyplain:

But I asked for best practice, and it is a better solution then what we are doing today.

So thanks for the help!

ChrisHemedinger
Community Manager

I agree with @ballardw -- If there is a continuous collaboration among users, then it's best to establish a SAS library on the server that all can access as needed.  You could create a folder/library that is specific to the project, and then grant file system rights only to the people who need to access it.

The Upload/Download tasks are a convenient workaround for one-off projects where it might be too much trouble to set up a shared space (if that involves IT), but it's not a great long-term approach.

Chris

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 6 replies
  • 1950 views
  • 7 likes
  • 5 in conversation