Dec22 SAS ODA Update - Impact on SASPy Users

During December 2022, SAS ODA received substantial updates - see the upgrade page for details. It’s really nice to see that ODA is now using SAS 9.4M7. If you are a SASPy user, you may now bump into an error while logging in with your existing configuration. The specific error I encountered was “An exception was thrown during the encryption key exchange.” Nothing is wrong with your password, however. Due to changes with the AES encryption, SASPy will now need access to 3 encrpytion JARs in its classpath. See this note in the official SASPy docs. Download the required JAR files here (requires login) and add them to your SASPy package’s path here: ...

Jan 9, 2023 · 1 min · 130 words · D. Michael Senter

Easy SASPy Setup from Jupyter

I love using SASPy, but the setup can take a minute. I used to do the setup via the CLI until I started thinking I might be able to just do it straight from a Jupyter notebook. Having just a couple of cells in Jupyter notebook makes for easy copy-and-paste and reduces setup time. The code below has been tested on both Windows and Linux. As a bonus, this also works on Google Colab. ...

Mar 11, 2022 · 2 min · 395 words · D. Michael Senter

SASPy Video Tutorial

I have been using both SAS and Python extensively for a while now. With each having great features, it was very useful to combine my skills in both languages by seamlessly moving between SAS and Python in a single notebook. In the video below, fellow SAS intern Ariel Chien and I show how easy it is to connect the SAS and Python kernels using the open-source SASPy package together with SAS OnDemand for Academics. I hope you will also find that this adds to your workflow! ...

Jun 29, 2021 · 1 min · 130 words · D. Michael Senter