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?
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.
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.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.