Hi,
I want to use File System into Data Source but when I try to assign Path (From SAS Drive and from Local drive) it gives an error. I have file into those appropriate folders. So Which exact format or path it is using for File System Data Source.
Appreciate your help.
So this is screen is used to create a PATH based caslib, meaning a path on the server. I dont think this is what you are wanting to do.
Potentially there might be a way to use the import function, to pull the xml from your local computer and load it as a caslib. I haven't tried it before but there might be a way to accomplish this. I probably think you would have to use code to do this, and not the UI.
Some good reading:
Excerpt:
"Please be aware of a limitation with data stored in SAS Content. While any file can be written to or uploaded to folders in SAS Content, you can’t access data (ex. .sas7bdat) from SAS Content via libraries (since libraries cannot be assigned to SAS Content folders). Only data that can be read via a fileref (ex. .csv, .txt, .xlsx, etc), can be read from SAS Content (since filerefs can be assigned to files in SAS Content). See working with data in SAS Studio 5 for more information."
So in Studio you might be able to make a filename reference to the fileserver and read it as a base sas data set and then load that dataset to CAS.
This not not the same type of example but shows using a filename reference to save data to SASDrive Content: https://communities.sas.com/t5/SAS-Communities-Library/Making-SAS-programs-stored-on-the-file-system...
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.