BookmarkSubscribeRSS Feed
titan31
Quartz | Level 8

Hi,

 

I know how I'd do delete one report in Management Console but I'm looking to mass delete a bunch of reports within one folder if they've been created a certain length of time ago. 

 

We've got a folder in our VA setup for people to "temporarily share and store off", but as we've never found a good way of deleting them, they're just permanently there now and not used bar like the few days they're created.

 

Is there a way to delete these using code or some script or utility?

 

Thanks

1 REPLY 1
PaulHomes
Rhodochrosite | Level 12

If you need to do it programmatically then you can use the SAS Open Metadata API to find the objects with the appropriate filter criteria and then delete them.

 

For a manual approach in SAS Management Console, you could try using the Search Tab. You can filter based on type, folder, and date, and then shift/control-click-select a range (or Control-A for all), right-mouse-click and delete the selected items.

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