notebook_sas_cell
Run SAS DATA steps, PROCs, and macros in the connected SAS Viya session without a local kernel. Returns ODS output, warnings, logs, and run status for inspection.
Instructions
Run a SAS cell (DATA steps, PROCs, macro code) in the Workspace's SAS Compute session of the SAS Viya
connection (default: the active one) - the session, queue, pre-warm and Stop (sas_stop) of the SQL Editor's SAS
runs and the Python in SAS cells, so WORK tables and macro variables are shared with them; Restart SAS session
(sas_session_reset) clears them. Doesn't need a local kernel. The automatic SingleStore library (S2) is the
session's (the active SingleStore connection's database); database: the notebook's, only named in the note.
``run_id`` / ``wait_ms`` / ``running`` as notebook_sas_python (ask again with notebook_sas_python_status). Done:
``outputs`` (the notebook's SAS output: error / warning counts, ODS output, the log) and ``status`` ok / error /
aborted.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | ||
| source | Yes | ||
| wait_ms | No | ||
| database | No | ||
| connection | No | ||
| notebook_id | No |