With SAS On Demand, the actual SAS process (which you access through the SAS Studio web application) runs on a Linux-based cloud server. You must use UNIX-style syntax for file and path names. UNIX does not have drive letters, but a single directory tree which starts at "root", symbolized by a slash. You "own" your home directory, and the system provides a shortcut to it, symbolized by a tilde. So if you created a directory/folder called mydata in your home folder in the Studio navigation tab, in your code you would use
libname mydata "~/mydata";
Also note that UNIX operating systems are case sensitive, mydata and Mydata would be different objects.
In the future, always post the complete log of code that fails by copy/pasting the text into a window opened with this button:
The log is our primary diagnostic tool, see Maxim 2.
... View more