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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1394 views
  • 0 likes
  • 2 in conversation