BookmarkSubscribeRSS Feed
SASuserlot
Barite | Level 11

We have a requirement, where we have to check the titles and footnotes of an rtf file for mistakes. We have a lot of files, checking visually  a tiresome job.  Is there any way we can extract titles and footnotes from the file and compare with out title and footnotes.  I found an article about it but having the difficulty with  DDE sessions. Is there any alternative. I am providing the link to my another question with SAS code  where I tried to achieve this. Your inputs are greatly appreciated. I am also attaching a template of rtf file.

 

https://communities.sas.com/t5/SAS-Programming/Error-DDE-session-not-ready-ERROR-Critical-YP-Subsyst...

2 REPLIES 2
Tom
Super User Tom
Super User

RTF files are TEXT files. Read them with a data step and extract whatever you want.

Why did you attach a DOCX file?  That is not an RTF file.

SASuserlot
Barite | Level 11

Thanks for your suggestion. My apologies, I uploaded the wrong extension file by mistake. I uploaded the rtf file. Is it possible to give code extracting the title and footnotes? i

 

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
  • 2 replies
  • 1310 views
  • 1 like
  • 2 in conversation