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 and Infographic
Here's the deal — a is correct because table.tableInfo CAS action returns information about tables currently loaded in memory for a specified caslib. B is wrong; 'list tables' is not valid PROC CAS syntax.
Full explanation below image
Full Explanation
A is correct because table.tableInfo CAS action returns information about tables currently loaded in memory for a specified caslib. B is wrong; 'list tables' is not valid PROC CAS syntax. C is wrong; PROC CASUTIL lists files in the backing store on disk, not in-memory tables. D is wrong; caslib.listTables is not the correct action name.