Get Compute Table Data
get_compute_table_dataRetrieve rows from a SAS library table with formatted column values as displayed in the compute session, including WORK tables from prior code. Use for browsing data pages.
Instructions
Fetch rows from a table in a SAS library, with column names.
The compute-tier counterpart of get_castable_data: a plain page of
rows from libref.table as the session sees it, read through the
compute session's data API rather than by running SQL. Values arrive
formatted the way SAS displays them (dates as text, numbers with their
format applied), which is what a person browsing a table expects; use
query_data with target='compute' when you need raw numerics,
a WHERE clause, or a join.
Runs in the reusable per-user compute session for the context, so
WORK tables from earlier execute_sas_code calls are visible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return (default 100). | |
| start | No | Row offset for paging (default 0). | |
| table_name | Yes | The table within the library. | |
| library_name | Yes | The libref, e.g. ``WORK`` or ``SASHELP``. | |
| compute_context_name | Yes | Name of the compute context (see list_compute_contexts). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||