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
SAS Super FREQ
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
SAS Super FREQ
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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 6 replies
  • 1097 views
  • 2 likes
  • 3 in conversation