If I export a SAS dataset to excel, after opening, I have to select label => Public/Internal/ Confidential/ Strictly Confidential. It would be handy to write a line of query which sets it to "Internal" for example.
You might find the discussions in these two thread informational if not a solution:
https://communities.sas.com/t5/SAS-Programming/ODS-Sensitivity-Label/m-p/902188#M356508
The upshot on part of this is it involves local to your organization Microsoft settings that are not implemented everywhere and may be that a solution that works in some organization may not actually be very portable.
Strongly suggest contacting SAS Tech Support as you may need to share information to develop a solution that doesn't belong in a public forum.
You might find the discussions in these two thread informational if not a solution:
https://communities.sas.com/t5/SAS-Programming/ODS-Sensitivity-Label/m-p/902188#M356508
The upshot on part of this is it involves local to your organization Microsoft settings that are not implemented everywhere and may be that a solution that works in some organization may not actually be very portable.
Strongly suggest contacting SAS Tech Support as you may need to share information to develop a solution that doesn't belong in a public forum.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.