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

I've used the proc cas with de tableExists action.

When there i a loaded table i expect the results wil be written to a dataset work.results.  But unfortunately that is not the case.

 

In de log de message: r={exists=1} appears. So the table class is succesfully loaded in de CASLIB Casuser

 

What i'am doing wrong?

 

MAGG_0-1657453429045.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
BrunoMueller
SAS Super FREQ

Have a look at the doc for SAVERESULTS, it states that it will save a result table. Now the the table.tableExists action does not return a result table. So you can not use SAVERESULTS, unless you create your own CASL table with the content you want to save. Do you need the value whether a CAS table exists in a macro variable, then have a look at the CASL SYMPUTX function.

View solution in original post

2 REPLIES 2
BrunoMueller
SAS Super FREQ

Have a look at the doc for SAVERESULTS, it states that it will save a result table. Now the the table.tableExists action does not return a result table. So you can not use SAVERESULTS, unless you create your own CASL table with the content you want to save. Do you need the value whether a CAS table exists in a macro variable, then have a look at the CASL SYMPUTX function.

MAGG
Obsidian | Level 7
Thanks voor the explanation

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1642 views
  • 0 likes
  • 2 in conversation