BookmarkSubscribeRSS Feed
michokwu
Quartz | Level 8

Hi,

 

I am trying to read a file using the S3 Access Method and getting errors. My code

filename soc2013 s3 '/comprehensive-data/2013 data/social data/soc2013.csv';

Error: Error in the FILENAME statement 

 

2 REPLIES 2
ballardw
Super User

Start the path with a drive (windows) or disk mount point.

Then double check spelling. Check the number of spaces in the text and your folder names.

michokwu
Quartz | Level 8
i just checked the document and the S3 access method is supported to SAS Viya alone. Thank you
https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.5&docsetId=lestmtsglobal&docsetTarge...

sas-innovate-white.png

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

Register now!

How to connect to databases in SAS Viya

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.

Discussion stats
  • 2 replies
  • 996 views
  • 0 likes
  • 2 in conversation