BookmarkSubscribeRSS Feed
ralizadeh
Obsidian | Level 7

I generated the M03_Step1 table below using the M03_Step1 program. I want to alter the position of the library within the code, but I don't want to run the program again because it will take some time to complete. Is it feasible to move that table from the current library to another location (new library), assign the new library to this project, and somehow relink this table? Essentially, I want this table to be loaded from the new library location rather than where it was originally stored.

It doesn't appear like I can accomplish this, but I wanted to ask anyhow. Perhaps someone knows a trick?

 

ralizadeh_0-1686781992931.png

 

3 REPLIES 3
JOL
SAS Employee JOL
SAS Employee

You can try copy and paste in the server menu on the left.  Then you can modify your code to write to the new library for future submissions

 

JOL_0-1687293829369.png

 

 

fja
Lapis Lazuli | Level 10 fja
Lapis Lazuli | Level 10

You could either change the program producing it (and rerun it) ... or as @JOL has indicated copy the dataset.

Idea behind EG's behaviour is to visually indicate the data that were produced ... hence changing it via properties does not make sense.

--FJa

yabwon
Amethyst | Level 16

add this code in new program block:

 

libname Lib "/the/location/you/want/the/data";

data lib.M03_Step1;
  set sasuser.M03_Step1;
run;

Bart

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1115 views
  • 1 like
  • 4 in conversation