Hi all,
I get back to the community today because I cannot find the answer to my question.
In the framework of my job (ie. I am a statistical programmer in a pharma company) I have to produce rtf file on a recurring basis which are shared with different actors in the company. Based on that and the fact that by default a RTF file is editable, I wonder if it is possible to generate/create a RTF file with readonly property using ods rtf?
I know it is possible to use a DOS command to do that but I would prefer use a SAS syntax if possible.
Note that I know a pdf file could fixe this question but this solution does not work for me.
Thank you in advance for your help.
Romain
You can set the permissions with the PERMISSION= option of the FILENAME Statement on Windows and use the file reference in the ODS RTF statement.
Note that this only protects the file, not the content. Anybody can open the file, edit it, and save it to a new location.
An RTF file is just a text file. It has no security features.
If you are referring to the read-only attribute of Windows files, it doesn't do much either. Only group- or user-level security is effective.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: