session

listresults

Description

Lists the saved results for a session. This action is useful for managing and reviewing the outcomes of previously executed actions within a specific CAS session. It provides a summary of all saved results, allowing users to track job completion and access specific result objects for further analysis or processing.

session.listresults <result=results> <status=rc>;

Examples

This action can be used to list results that have been batched and saved in a different session, enabling cross-session result management.

SAS® / CAS Code Code awaiting community validation
Copied!
1/*proc cas; session.listresults; run;*/
Result :
A table listing the saved results for the current session.

FAQ

What is the purpose of the `listresults` action in the Session Methods action set?
How can I view the results that have been saved during my CAS session?
What is a common use case for the `listresults` action?