BookmarkSubscribeRSS Feed
ICI_SAS_Admins
Fluorite | Level 6

We have a library of SAS stored processes registered in SAS folders.  The current storage methodology has become cluttered and unmanageable.  We would like to implement a new organization structure for the SAS folders.  We are able to export a SAS package, delete the original stored processes and then import the SAS package into the new SAS folder.  However, after doing this, any references to the original stored process in Enterprise Guide projects or SAS Add-in for Microsoft Office files generate an error message.  It appears that even trying to change the name of the stored process without moving to a new SAS folder also causes errors.  This leads me to believe that the reference to the stored process that is stored in the EG projects and the SAS AMO files is a text reference to the pathed location of the SAS object (in this case a stored process).

 

I know that every object in the SAS metadata has a unique id.  Is there a way to link the stored process to the EG project or AMO file by this id rater than by name and location?  Is there some other way that I can maintain a functioning link to a stored process, but still have flexibility to move it to a new SAS folder and/or change the name?

 

--Shaun

1 REPLY 1
Quentin
Super User

Interesting question.

 

It's possible to read the metadata to look up the stored process name that is refernced by the Unique ID, and get the stored process name and metadata location.  Perhaps something close to what you want would be a custom task that, in EG, lets you input a UID, and then the task looks up the stored process and opens it in the current project. 

 

It still wouldn't be a link that uses the UID (I have definitely had situations where that would be a nice feature), but it would at least make it easier to reestablish links that were broken when a stored process is moved/renamed.  Just a thought.  

 

You might get more thoughts on the feasibility of a custom task approach if you post this in the EG group.

 

You could also submit the UID link idea as a feature request.

The Boston Area SAS Users Group (BASUG) is hosting our in person SAS Blowout on Oct 18!
This full-day event in Cambridge, Mass features four presenters from SAS, presenting on a range of SAS 9 programming topics. Pre-registration by Oct 15 is required.
Full details and registration info at https://www.basug.org/events.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 862 views
  • 0 likes
  • 2 in conversation