Hello Guys,
Greetings of the day.
In sas :
If we want to use sas datasets in sas server we can use the below
libname SomeAmazingLibrary "/sas/data/sas_datasets/Bla/Di/Bla";
Now if i want to assign sas datasets in sas server in python jupyter notebook
What are the steps to be followed ?
Should sas software installed locally?
@U2 ,
Please see the configuration step here https://sassoftware.github.io/saspy/install.html#configuration. You have to connect to the SAS server, local or remote. Here is the information about starting the SAS session and loading the data https://sassoftware.github.io/saspy/getting-started.html#start-a-sas-session.
And, the saspy method for assigning a library is the following (off of the SASsession object):
saslib
(libref: str, engine: str = ' ', path: str = '', options: str = ' ', prompt: dict = None) → str
Parameters: |
|
---|---|
Returns: |
SAS log |
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.