arielkaluzhny
arielkaluzhny

Reputation: 336

What does setting libname to "..." do in SAS?

What does it mean when someone sets a libname to "..." in SAS?

libname ex "...";

I am looking at someone's old code and when I run this I get the following errors.

ERROR: Invalid physical name for library EX.
ERROR: Error in the LIBNAME statement.

Sorry, I am new to SAS. All insight would be appreciated!

Upvotes: 1

Views: 1564

Answers (2)

Joe
Joe

Reputation: 63424

What "..." is meant to imply is that you should set the libname to something appropriate to your project/environment. The ellipsis (...) is used to suggest something that is left out, in this case to be filled in by you.

This is pretty common in example code, where a libname statement is necessary (particularly if using a libname option) and the example-creator doesn't want to specify an actual path (which might not actually exist).

Upvotes: 2

vasja
vasja

Reputation: 4792

The directory path specified inside "..." is invalid = directory does not exist.

Upvotes: 1

Related Questions