A SAS programmer needs to execute a CAS action to list all tables currently loaded in the CASUSER caslib. Which PROC CAS invocation is correct?
Select an answer to reveal the explanation.
Short Explanation
You need the PROC CAS call that runs the table.tableInfo action with caslib='CASUSER'. That action returns information about tables currently loaded in memory for the specified caslib. The other syntaxes won't do it.
Full Explanation
PROC CAS calling table.tableInfo with caslib='CASUSER' is correct because table.tableInfo returns information about tables currently loaded in memory for a specified caslib. The PROC CAS list tables syntax is wrong; 'list tables' is not valid PROC CAS syntax. PROC CASUTIL list casdata is wrong; it lists files in the backing store on disk, not in-memory tables. PROC CAS caslib.listTables is wrong; that is not the correct action name.