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;
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.