BookmarkSubscribeRSS Feed
Calcite | Level 5 U2
Calcite | Level 5

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?


SAS Employee

@U2 ,


Please see the configuration step here You have to connect to the SAS server, local or remote. Here is the information about starting the SAS session and loading the data

SAS Employee

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

  • libref – the libref to be assigned
  • engine – the engine name used to access the SAS Library (engine defaults to BASE, per SAS)
  • path – path to the library (for engines that take a path parameter)
  • options – other engine or engine supervisor options

SAS log




Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

How to Concatenate Values

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.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1 like
  • 3 in conversation