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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1071 views
  • 2 likes
  • 3 in conversation