sas_stop
Stops a SAS run from the SQL Editor: cancels waiting or running Viya jobs while keeping the SAS session active, then returns status and log via sas_run_status.
Instructions
Stop a SAS run from the SQL Editor: a waiting run doesn't start; a running one is cancelled on Viya (Compute: the job's state set to canceled; CAS: the session's running action cancelled). The SAS session keeps running. The run then ends "stopped" with the log so far (sas_run_status).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes |