02-22-2017 09:29 AM
Whats a "SAS cloud version"? Specific software titles/versions would be useful. In any event mostly it will be the same:
libname <libraryname> "<pathtolibrary>" access=<access>;
The bit that will change is the pathtolibrary, that would be specific to your software/instance, maybe there is a macro variable which points to root and then you add subdirectories from there.
02-22-2017 01:31 PM
I am using SAS Cloud (On demand academics version).Due to cloud environment i am not able to acess root directories of my pc.
This is correct, you cannot access the directories of your computer when using On Demand. You can upload files that you need in the Server Files Folders pane and then use in your programs.
To find the path to the file, once it's uploaded, right click, select properties. The properties window will have the path. Use this in your program to import the data or assign a library definition.