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
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;
the table is already in cas. The code works but does not populate the relative field Data type (rowid=1001)
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
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.