BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ghassanzghaib
Fluorite | Level 6

Hi,

 

In the SAS Management Console, under "Server Manager", I have a server configured that has a list of associated machines in a dropdown list.

How can I delete an entry from the list?

 

Thanks in advance.

 

1 ACCEPTED SOLUTION

Accepted Solutions
CarmineVerrell
SAS Employee

Hello,

            Please see link on two ways to delete metadata.

https://blogs.sas.com/content/sgf/2013/02/06/two-methods-for-editing-sas-metadata/

 

This might not apply in your case but some added info here is a command-line tool to delete metadata.

Delete Objects(sas-delete-objects)  in metadata

https://go.documentation.sas.com/?cdcId=bicdc&cdcVersion=9.4&docsetId=bisag&docsetTarget=p0zqp8fmgs4...

 

Carmine

View solution in original post

5 REPLIES 5
CarmineVerrell
SAS Employee
Hello, Would you be able to provide more detailed information? Maybe a screenshot would be handy of what you are trying to delete.
Thanks
Carmine
CarmineVerrell
SAS Employee

Hello,

            Please see link on two ways to delete metadata.

https://blogs.sas.com/content/sgf/2013/02/06/two-methods-for-editing-sas-metadata/

 

This might not apply in your case but some added info here is a command-line tool to delete metadata.

Delete Objects(sas-delete-objects)  in metadata

https://go.documentation.sas.com/?cdcId=bicdc&cdcVersion=9.4&docsetId=bisag&docsetTarget=p0zqp8fmgs4...

 

Carmine

gwootton
SAS Super FREQ

This SAS code would do it based on the machine name being "test". This uses the METADATA_DELOBJ function. You would need to have set the connection options necessary to connect to Metadata as an Administrator.

Be sure to take an ad-hoc metadata backup prior to running any code that writes to Metadata.

 

data _null_;
	obj="omsobj:Machine?@Name='test'";
	rc=metadata_delobj(obj);
	put rc=;
run;
--
Greg Wootton | Principal Systems Technical Support Engineer
ghassanzghaib
Fluorite | Level 6

Hi Greg,

 

I aknowledged the previous reply as a "Solution" but your post helped me find the object by exploring the metadata right in SAS Base.

 

Thanks for your help.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 909 views
  • 3 likes
  • 3 in conversation