BookmarkSubscribeRSS Feed
data_null__
Jade | Level 19

I want to search for the %LIST statement.  I have tried \%list and '%LIST' but no joy.  I don't know what I don't know.

6 REPLIES 6
Quentin
Super User

I couldn't get it to work from the communities search bar, but googling for:

site:communities.sas.com "%list"

seemed to do it.

The Boston Area SAS Users Group is hosting free webinars!

Register now at https://www.basug.org/events.
data_null__
Jade | Level 19

That returns everything LIST I want the %LIST statement.  Which may not exist.

 


@Quentin wrote:

I couldn't get it to work from the communities search bar, but googling for:

site:communities.sas.com "%list"

seemed to do it.


 

Quentin
Super User

@data_null__ wrote:

That returns everything LIST I want the %LIST statement.  Which may not exist.

 


@Quentin wrote:

I couldn't get it to work from the communities search bar, but googling for:

site:communities.sas.com "%list"

seemed to do it.



I think it's returning everything with %list, i.e. including the % sign at least.  So slightly better than what I get from the communities search bar.  But it's mostly returning people's %list macros, not the %list statement.

 

I did find the %list statement in the docs:
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lestmtsglobal/p02qgs5rt5lydbn1l6is036snn9j.ht...

 

Looks like it's only useful in the ancient interactive line mode.  

The Boston Area SAS Users Group is hosting free webinars!

Register now at https://www.basug.org/events.
data_null__
Jade | Level 19

Hi @Quentin I know about the %LIST statement and documentation.  I was looking for off-label uses of this ancient SAS statement.  Also, want to know how to search for a word with percent sign. 

ChrisHemedinger
Community Manager

I'm afraid this is a search "black hole"  -- the percent symbol gets escaped in the URL (because the internet decided % and & are meant for URL directives and not for SAS macros, even though SAS macro has been around longer). The Google site search is the best workaround that I can think of.

 

I searched ALL message titles (I have that data) and none mention %LIST in the subject line.

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!
Tom
Super User Tom
Super User

You can ask Google for a literal search.  It appears that is triggered in the URL by setting TBS parameter to li:1 .

 

https://www.google.com/search?q=%40sas.com+%22%25list%22&tbs=li:1