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

Hi, using technology older than 12 years ago... SAS AF....

 

I want to get/know all SCL frames+catalog in order to "search" inside of them by "words" - like "grep" in linux.

 

In addition, is there a way to check where are those SCL are stored in order to "run" - like "/usr/local/html" in webserver.

 

Thanks

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Do you want to identify the Frames or the SCL code?

 

Proc catalogs may get you started for what you ask.

proc catalog catalog=sashelp.afclass ;
contents  out=work.afclasscontents;
run;

At least in my installation sashelp.afclass has frames and SCL entries. There is a variable type in the out= data set of Type that indicates the Frame, SCL and Slist entries (plus a few more).  The Entrytype= option on the Proc statement limits the output to one type of entry.

 

The physical catalog location would be in SASHELP.VMEMBER or Dictionary.Members for Proc SQL

proc sql;
   create table work.cats as
   select * 
   from dictionary.members
   where libname='SASHELP' and memtype='CATALOG'
   ;
quit;

 

View solution in original post

2 REPLIES 2
SASKiwi
Opal | Level 21

SAS/AF catalogs can only easily be searched using SAS/AF. Also SAS/AF can only be used via the SAS Windowing Environment aka Display Manager, the legacy user interface.

 

That means you have to have a 'full' SAS installation on a PC. While you can develop SCL programs that are just code and call them from Base SAS, I would not recommend doing any new development work in this product. SAS/AF is not designed for web-based or thin client applications. It won't work in Enterprise Guide or SAS Studio for example. 

ballardw
Super User

Do you want to identify the Frames or the SCL code?

 

Proc catalogs may get you started for what you ask.

proc catalog catalog=sashelp.afclass ;
contents  out=work.afclasscontents;
run;

At least in my installation sashelp.afclass has frames and SCL entries. There is a variable type in the out= data set of Type that indicates the Frame, SCL and Slist entries (plus a few more).  The Entrytype= option on the Proc statement limits the output to one type of entry.

 

The physical catalog location would be in SASHELP.VMEMBER or Dictionary.Members for Proc SQL

proc sql;
   create table work.cats as
   select * 
   from dictionary.members
   where libname='SASHELP' and memtype='CATALOG'
   ;
quit;

 

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 136 views
  • 1 like
  • 3 in conversation