A sas_kernel
is needed to use SAS with Jupyter. Although a sas kernel is part of the SAS University Edition, it is difficult to use SAS with SoS in this way because the University Edition is executed inside a VM.
Because sas_kernel requires SAS 9.4 or higher and only works on Linux, you will need a Linux server with SAS installed, and a Jupyter server with sas_kernel, which can be on the same or differnt server as SAS. Please refer to sas_kernel documentation for details.
Note that sas_kernel can be used with SAS 9.3 but some features might not work correctly.
A SAS dataset is roughly equivalent to Python's DataFrame (Pandas) and R's dataframe, and this is the only datatype that can be exchanged between SAS and other languages.
For example, if you have a Python DataFrame
You can use magic %get
in SAS subkernel to get the dataframe as a SAS dataset
You can also %get
variables from other subkernels using option --from
If you have a dataset in SAS
You can analyze it in SAS
Or transfer the data to other subkernels for analysis