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 2025: Call for Content

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 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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