BookmarkSubscribeRSS Feed
dcortell
Pyrite | Level 9

Hi Experts

 

I wanted to check with you if there is a way to control if a table is loaded in memory in a cas lib.

 

I expect that If I run something like:

%if %sysfunc(exist(gms.topic_scoring_prod)) %then %do;

in a macro program, I could still get positive results, as the table is indeed stored in the library BUT not loaded into memory.

 

So maybe exists something similar to control for loading of the table?

 

Thanks

 

1 REPLY 1
sbxkoenk
SAS Super FREQ

For checking whether table is loaded (in-memory) ...

 

Not like this:


Check that a SAS data set exists (and other data maintenance tips)
By Rick Wicklin on The DO Loop June 27, 2011
https://blogs.sas.com/content/iml/2011/06/27/check-that-a-sas-data-set-exists-and-other-data-mainten...

 

but like this :

 

SAS® 9.4 and SAS® Viya® 3.5 Programming Documentation | SAS 9.4 / Viya 3.5
Tables Action Set
tableExists Action
Checks whether a table has been loaded.
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/caspg/cas-table-tableexists.htm

 

BR,
Koen

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
  • 1 reply
  • 187 views
  • 0 likes
  • 2 in conversation