DATA Step, Macro, Functions and more

Base option in libname statement

Accepted Solution Solved
Reply
Contributor dpa
Contributor
Posts: 35
Accepted Solution

Base option in libname statement

HI I came across this statement and want to know what BASE option doing.

 

libname HOME BASE "~";


Accepted Solutions
Solution
‎09-14-2016 05:05 AM
Super User
Posts: 5,438

Re: Base option in libname statement


All Replies
Solution
‎09-14-2016 05:05 AM
Super User
Posts: 5,438

Re: Base option in libname statement

According to the documentation this part of the libname statement declares the engine.

Base is the default standard SAS engine.

http://support.sas.com/documentation/cdl/en/syntaxidx/68719/HTML/default/index.htm#/documentation/cd...

http://support.sas.com/documentation/cdl//en/lrcon/68089/HTML/default/viewer.htm#n1nuvd4qvxu58on1m8p...

Data never sleeps
Super User
Posts: 7,863

Re: Base option in libname statement

It means that SAS will use the basic SAS dataset format, which means .sas7bdat (or .ssd01 for version 6 and earlier) files. This is the default, but it might be handy if certain filetypes exist in the same directory that might mislead SAS.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Contributor dpa
Contributor
Posts: 35

Re: Base option in libname statement

Posted in reply to KurtBremser

Thank you for your help

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 733 views
  • 0 likes
  • 3 in conversation