BookmarkSubscribeRSS Feed
DmytroYermak
Lapis Lazuli | Level 10

During the latest two weeks I saw/used several 'reserved words' for Proc Report like:

 

~R/RTF'\brdrb\brdrs\brdrw1'

or

pretext="\qj\tqdec\tx800 "

or

#byval(XXX)

Could anybody provide a link on the full list of such reserved words.

Thank you!

6 REPLIES 6
Tom
Super User Tom
Super User

The first two look like RTF commands and so should only have an impact on ODS RTF output. Although I assume that the PREFIX= option is probably a PROC REPORT feature.

 

The last one is standard feature of using BY statement values in TITLES and should have nothing to do with PROC REPORT.

DmytroYermak
Lapis Lazuli | Level 10
Thank you! What are the RTF commands? Where to read about them more?
Tom
Super User Tom
Super User

Rich Text Format was published by MicroSoft. 

You might start with Wikipedia. 

https://en.wikipedia.org/wiki/Rich_Text_Format

 

But there are numerous SAS related articles also. 

https://www.google.com/search?q=%40lexjansen.com+rtf+syntax

 

Cynthia_sas
Diamond | Level 26
I like to use this O'Reilly book to investigate RTF control strings/commands: http://shop.oreilly.com/product/9780596004750.do

Cynthia
DmytroYermak
Lapis Lazuli | Level 10

Hi Cynthia,

 

I found the book. There is the qj command there but there is no tqdec. Could you please explain how it works.  

\qj\tqdec\tx800

 

 

Cynthia_sas
Diamond | Level 26
Hi,
I don't know every RTF control string or control command. If it's not in the O'Reilly book, I search on the RTF spec web site: http://www.biblioscape.com/rtf15_spec.htm and if I do a Ctrl+F on that page and search for \tqdec, it looks like it is setting a decimal tab.

cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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