sas_run_status
Check the status of a background SAS run, wait briefly for completion, and return its result or running/stopping state.
Instructions
A background SAS run (sas_query / sas_execute): its result once it's done (waits up to wait_ms, at
most 25 s), else running with its state, how long it has run and, while it waits for the session,
waiting_for (the run in another tab). After Stop: stopping, and cancel_failed when Viya didn't
end it (offer Restart SAS session).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| wait_ms | No |