BookmarkSubscribeRSS Feed
luca87
Obsidian | Level 7

Hi, 

I am trying to use on tables saved in CAS the Data Discovery Action Set function:

                proc cas;
                loadactionset / actionSet="dataDiscovery";
                run;
                dataDiscovery.profile result=r / table={name="&table."},
                casOut={name="&table._P", replace=true};
                run;
                loadactionset / actionSet="datapreprocess";
                run;
                datapreprocess.rustats /
                table={name="&table."}
                requestPackages={
                {
                locs={"mean", "median", "biweight"}
                scales={"std"}
                }
                }
                nominalStats={iqv=True topK=5 bottomK=5}
                casOut={name="&table._R",replace=true};
                run;

where &table is sashelp.cars.


I don't understand why it doesn't fill in the rowid=1001 field related to the Data type

 

Thanks

Luca

2 REPLIES 2
HarrySnart
SAS Employee

Hi @luca87 PROC CAS works against in-memory CAS tables. You'll need to load the sashelp.cars table into memory first. 

 

E.g. 

 

libname casuser cas;

data casuser.cars;
set sashelp.cars;
run;

%let table=casuser.cars;
luca87
Obsidian | Level 7

the table is already in cas. The code works but does not populate the relative field Data type (rowid=1001)

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
  • 944 views
  • 0 likes
  • 2 in conversation