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