BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
xxformat_com
Barite | Level 11

Right now, I'm only aware of the procedure proc catalog to delete a catalog entry.

However, the online documentation indicates that proc catalog is not supported by CAS.

So I was wondering what alternatives are available to delete catalog entries.

 

Here is a demo program to give something to test against.

 

filename demo catalog 'work.pgm.procprint.source';
*filename demo temp;

data _null_; 
	file demo; 
	put 'proc print data=sashelp.class;'; 
	put 'run;'; 
run;

%include demo; 
filename demo;

proc catalog catalog=work.pgm;
    delete procprint / entrytype=source;
    run;
quit;
1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

You can still use PROC CATALOG in SAS Viya -- it will just run in the Compute server, not in CAS. Or are you working from an environment where you have only a CAS connection and no Compute server available?

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

View solution in original post

2 REPLIES 2
ChrisHemedinger
Community Manager

You can still use PROC CATALOG in SAS Viya -- it will just run in the Compute server, not in CAS. Or are you working from an environment where you have only a CAS connection and no Compute server available?

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
SASKiwi
PROC Star

I can't think of any good reason why you would want to load a SAS catalog into a CAS library. In fact it looks like V9-style SAS catalogs are not supported in CAS libraries anyway. There is a special use case for SAS formats that a stored in V9-style SAS catalogs in SAS 9 and these can be migrated to a Viya CAS library but are stored in a different form. Here is the doc link for that. 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 842 views
  • 3 likes
  • 3 in conversation