In SAS Viya, a data scientist wants to list all CAS tables available in a specific caslib called 'MYDATA'. Which CAS action accomplishes this?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — a is correct because the table.listTables CAS action with the caslib= parameter lists all tables available in the specified caslib, returning metadata about each in-memory table. B (PROC DATASETS) works for SAS libraries on disk but does not address CAS in-memory tables in a caslib.
Full explanation below image
Full Explanation
A is correct because the table.listTables CAS action with the caslib= parameter lists all tables available in the specified caslib, returning metadata about each in-memory table. B (PROC DATASETS) works for SAS libraries on disk but does not address CAS in-memory tables in a caslib. C (builtins.help) provides help documentation, not table listings. D (PROC CONTENTS DATA=_ALL_) is a SAS 9-style approach for SAS libraries, not CAS caslibs.