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
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/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.
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;
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 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: