As of the LTS 2025.09 release, you can use the status handling feature to send the flow status to a specified table after the flow is finished running. Note: Status handling is available only if your site licenses SAS Studio Engineer.
To add status handling to a SAS Studio flow, select on the right-hand side of the flow to open the Status Handling properties pane.
Select any image to see a larger version.
Mobile users: To view the images, select the "Full" version at the bottom of the page.
Click to add a condition to the Status Handling properties.
On the Condition and Action Details dialog, select the library and table name to which you want to write the flow status.
Note: The only condition is Flow status and the only action is Send to table.
The condition and action are now part of the Status Handling properties for the flow.
When this flow is executed, the status of the execution is written to the specified status table.
Other columns written to the status table that are not pictured are:
Note: The SYSCC automatic macro variable is evaluated at the end of the flow execution to determine the overall run status of the flow. A value of 0 indicates a successful execution. SYSCC is global in scope and reflects the highest severity of any issue that is encountered during the flow execution. In rare cases, the value of SYSCC can be 0 even when other diagnostic automatic variables, such as SYSERR, SYSFILRC, or SYSRC, are set to nonzero values for warnings or errors in a step or program statement.
If the flow is executed again, the status of that execution is appended to the specified status table.
You can write the status of an execution of a SAS Studio flow to a table. For more information, refer to the documentation on Adding Status Handling to a Flow.
Find more articles from SAS Global Enablement and Learning here.
Dive into keynotes, announcements and breakthroughs on demand.
Explore Now →The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.