The SAS Output Delivery System and reporting techniques

Reserved words for Proc Report

Reply
Frequent Contributor
Posts: 148

Reserved words for Proc Report

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!

Super User
Super User
Posts: 7,260

Re: Reserved words for Proc Report

Posted in reply to DmytroYermak

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.

Frequent Contributor
Posts: 148

Re: Reserved words for Proc Report

Thank you! What are the RTF commands? Where to read about them more?
Super User
Super User
Posts: 7,260

Re: Reserved words for Proc Report

Posted in reply to DmytroYermak

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

 

SAS Super FREQ
Posts: 8,961

Re: Reserved words for Proc Report

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

Cynthia
Frequent Contributor
Posts: 148

Re: Reserved words for Proc Report

Posted in reply to Cynthia_sas

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

 

 

SAS Super FREQ
Posts: 8,961

Re: Reserved words for Proc Report

Posted in reply to DmytroYermak
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
Ask a Question
Discussion stats
  • 6 replies
  • 171 views
  • 2 likes
  • 3 in conversation