BookmarkSubscribeRSS Feed
harryLM007
Fluorite | Level 6

Hi SAS Community,

 

I was working in configuring and connecting from SAS to AWS S3 to get and put data.
While putting data, we have to add --tagging option I was wondering if any one is aware of the 

option we have to use for this in proc s3.

Below is example AWS CLI command:

 

aws s3api put-object --bucket <bucket_name>
--server-side-encryption aws:kms --ssekms-key-id <arn_key_id>
--key <filename> --region us-east-1 --tagging <value>

4 REPLIES 4
JosvanderVelden
SAS Super FREQ
Have you seen the posts by @UttamKumar on working with proc s3?
Ex. https://communities.sas.com/t5/SAS-Communities-Library/Using-SAS-PROC-S3-to-access-Amazon-S3/ta-p/70...
You can also search the communities site for "proc s3" and see if there is something that helps.
You may also find some info in this paper: https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2019/3391-2019.pdf

Best regards, Jos
harryLM007
Fluorite | Level 6

Hi Jos
Thanks for the details, I got the most of the code from this but, this doesn't have tagging option which I have been looking at,.

 

Thanks

Harry

gwsas
SAS Employee

If it's not in the PROC S3 doc, it's not available, so there is no tagging option in PROC S3.  You will need to use other tools for this (such as the AWS cli).  You can submit this as a feature request/idea here and perhaps SAS R&D will implement it in a future release:

https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas

harryLM007
Fluorite | Level 6

Thanks flash, submitted the feature request.

 

Thanks

Harry

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
  • 4 replies
  • 1263 views
  • 2 likes
  • 3 in conversation