BookmarkSubscribeRSS Feed
sentientcarbon
Calcite | Level 5

(apologies if this has already been answered, I'm new to the community and searching variations on 'replace dataset' didn't turn anything up)

I have a project in EG 5.1 that I've been using for a while that has recently become non-functional.  Basically, the program starts with three standard datasets, A, B, and C.  Recently, datasets B and C have become unusable due to something changing with the server (every time I try to access B or C, enterprise guide tells me "The server Local is not defined in the current repository").  I have more recent versions of these datasets saved to my personal desktop, and would like to use those instead of the versions saved on the server anyway.

Is there any way to replace an initial dataset in an existing project?  The project is fairly extensive and I'd really not rather rewrite the whole thing if there's any way I could just plop a working dataset in place of the nonworking one instead.  Thanks!

3 REPLIES 3
Reeza
Super User

You can right click and edit a task and point it to a new input dataset.

The caveat is that SAS EG appears to work only on desktop or server, so all your datasets will need to be in one location, or you'll need to account for that somehow via upload/download steps.

Technolero
Pyrite | Level 9

...Or you can right-click on the table and choose Properties.  Click the Change button and choose the new data set that you want to use for the project and click OK.  This will work assuming your data set and variables are structured the same way as the original data set.

jakarman
Barite | Level 11

References to dataset in EGP are containing the logical server name and the full-path on the server.

It can run SAS-processes on a local server and do multi-threading processes on servers.

You did not have described the local/server side location of the datasets

You did not have describe the way the libname definitions have become active.

Normally the updates of a location can be done as Reeza described. There are some exceptions even possible is there are failures but they are rare situations.    

---->-- ja karman --<-----

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
  • 3 replies
  • 1994 views
  • 0 likes
  • 4 in conversation