SAS Programming

DATA Step, Macro, Functions and more
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

 

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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