BookmarkSubscribeRSS Feed
sathya66
Barite | Level 11

Hi All,

 

I am trying to list the files in S3 by using I am role I am getting syntax error as SAS is not recognising  role name as an option.

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n1volodm4xnj3xn1s99poiemcha2.htm

above docs says 

Support for this option was added in SAS 9.4M7

proc s3 rolename="s3AccessRole" ;

If I use config and creds then it is working. but I need to use I am role only . can you suggest if there is a way we can use I am role in SAS 9.4 M6

  proc s3 
                     awsconfig="config_path" 
                     awscredentials="creds_path" ; 
                     list "bucket_path" ;
                run;

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 658 views
  • 0 likes
  • 1 in conversation