Actions
ODS RTF Tip Sheet
ODS RTF Tip Sheet
ODS RTF Tip Sheet
ODS RTF Tip Sheet
destination and creates RTF output.
Action Syntax
Action Syntax
Actions
Actions
Actions
Actions
Action Syntax
Action Syntax
ods rtf <(
identifier)> ;
ods rtf <(identifier)> ;
If you use the ODS RTF statement without
If you use the ODS RTF statement without
an action or options, then it opens the RTF
an action or options, then it opens the RTF
destination and creates RTF output.
destination and creates RTF output.
close
closes the RTF destination and the file that
is associated with it. You cannot print the
file until you close the destination.
ods rtf <(identifier)> ;
ods rtf <(identifier)> ;
exclude exclusions(s) | all |none
If you use the ODS RTF statement without
If you use the ODS RTF statement without
excludes output objects from the RTF
an action or options, then it opens the RTF
an action or options, then it opens the RTF
destination.
destination and creates RTF output.
destination and creates RTF output.
select selections(s) | all |none
selects output objects for the RTF
destination.
close
close
close
show
close
writes the current selection or exclusion list
closes the RTF destination and the file that
closes the RTF destination and the file that
closes the RTF destination and the file that
closes the RTF destination and the file that
for the RTF destination to the SAS® log.
is associated with it. You cannot print the
is associated with it. You cannot print the
is associated with it. You cannot print the
is associated with it. You cannot print the
file until you close the destination.
file until you close the destination.
file until you close the destination.
file until you close the destination.
exclude exclusions(s) | all |none
exclude exclusions(s) | all |none
exclude exclusions(s) | all |none
exclude exclusions(s) | all |none
excludes output objects from the RTF
excludes output objects from the RTF
excludes output objects from the RTF
excludes output objects from the RTF
destination.
destination.
destination.
destination.
select selections(s) | all |none
select selections(s) | all |none
select selections(s) | all |none
select selections(s) | all |none
selects output objects for the RTF
selects output objects for the RTF
selects output objects for the RTF
selects output objects for the RTF
destination.
destination.
destination.
destination.
show
show
show
show
writes the current selection or exclusion list
writes the current selection or exclusion list
writes the current selection or exclusion list
writes the current selection or exclusion list
for the RTF destination to the SAS® log.
for the RTF destination to the SAS® log.
for the RTF destination to the SAS® log.
for the RTF destination to the SAS® log.
none is specified.
The following goptions produce better RTF
output in PORTRAIT mode.
goptions reset=goptions device=sasemf
target=sasemf xmax=7.5in ymax=10in;
Column for logo, address, and trademark info.
Column for logo, address, and trademark info.
RTF and SAS/GRAPH®
RTF and SAS/GRAPH®
RTF and SAS/GRAPH®
The following goptions produce better RTF
RTF and SAS/GRAPH®
output in LANDSCAPE mode.
RTF supports three device types, SASEMF,
RTF supports three device types, SASEMF,
RTF supports three device types, SASEMF,
RTF supports three device types, SASEMF,
goptions reset=goptions device=sasemf
PNG, and JPEG. SASEMF might print
PNG, and JPEG. SASEMF might print
PNG, and JPEG. SASEMF might print
PNG, and JPEG. SASEMF might print
target=sasemf xmax=10in ymax=7.5in;
best; it is the default graphics device when
best; it is the default graphics device when
best; it is the default graphics device when
best; it is the default graphics device when
none is specified.
none is specified.
none is specified.
none is specified.
The following goptions produce better RTF
The following goptions produce better RTF
The following goptions produce better RTF
The following goptions produce better RTF
output in PORTRAIT mode.
output in PORTRAIT mode.
output in PORTRAIT mode.
output in PORTRAIT mode.
goptions reset=goptions device=sasemf
goptions reset=goptions device=sasemf
goptions reset=goptions device=sasemf
goptions reset=goptions device=sasemf
target=sasemf xmax=7.5in ymax=10in;
target=sasemf xmax=7.5in ymax=10in;
target=sasemf xmax=7.5in ymax=10in;
target=sasemf xmax=7.5in ymax=10in;
The following goptions produce better RTF
The following goptions produce better RTF
The following goptions produce better RTF
The following goptions produce better RTF
output in LANDSCAPE mode.
output in LANDSCAPE mode.
output in LANDSCAPE mode.
output in LANDSCAPE mode.
goptions reset=goptions device=sasemf
goptions reset=goptions device=sasemf
goptions reset=goptions device=sasemf
goptions reset=goptions device=sasemf
target=sasemf xmax=10in ymax=7.5in;
target=sasemf xmax=10in ymax=7.5in;
target=sasemf xmax=10in ymax=7.5in;
target=sasemf xmax=10in ymax=7.5in;
Column for logo, address, and trademark info.
Column for logo, address, and trademark info.
For complete information, refer to the
Base SAS® 9.2 documentation at
http://support.sas.com/v9doc
For complete information, refer to the
For complete information, refer to the
For complete information, refer to the
For complete information, refer to the
Base SAS® 9.2 documentation at
Base SAS® 9.2 documentation at
Base SAS® 9.2 documentation at
Base SAS® 9.2 documentation at
http://support.sas.com/v9doc
http://support.sas.com/v9doc
http://support.sas.com/v9doc
http://support.sas.com/v9doc
SAS INSTITUTE INC.
U.S. & CANADA SALES
800 727 0025
WORLD HEADQUARTERS
919 677 8000
www.sas.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks
of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. Other brand and
product names are trademarks of their respective companies. Copyright © 2007, SAS Institute Inc.
All rights reserved. 496475.0508
Tip Sheet
ODS RTF
ODS RTF
ODS RTF
ODS RTF
ODS RTF
Tip Sheet
Tip Sheet
Tip Sheet
Tip Sheet
This tip sheet places frequently used
information in one place, on one sheet of
paper, so you don’t have to search through the
online documentation. It also gives you
something to take home, type in, and try.
This tip sheet presents the most common
statements and attributes used in creating
output with the ODS RTF statement. This
statement opens, manages, or closes the RTF
destination, which produces RTF output, a form
of output that is read by Microsoft Word.
This tip sheet places frequently used
This tip sheet places frequently used
This tip sheet places frequently used
This tip sheet places frequently used
information in one place, on one sheet of
information in one place, on one sheet of
information in one place, on one sheet of
information in one place, on one sheet of
paper, so you don’t have to search through the
paper, so you don’t have to search through the
paper, so you don’t have to search through the
paper, so you don’t have to search through the
online documentation. It also gives you
online documentation. It also gives you
online documentation. It also gives you
online documentation. It also gives you
something to take home, type in, and try.
something to take home, type in, and try.
something to take home, type in, and try.
something to take home, type in, and try.
This tip sheet presents the most common
This tip sheet presents the most common
This tip sheet presents the most common
This tip sheet presents the most common
statements and attributes used in creating
statements and attributes used in creating
statements and attributes used in creating
statements and attributes used in creating
output with the ODS RTF statement. This
output with the ODS RTF statement. This
output with the ODS RTF statement. This
output with the ODS RTF statement. This
statement opens, manages, or closes the RTF
statement opens, manages, or closes the RTF
statement opens, manages, or closes the RTF
statement opens, manages, or closes the RTF
destination, which produces RTF output, a form
destination, which produces RTF output, a form
destination, which produces RTF output, a form
destination, which produces RTF output, a form
of output that is read by Microsoft Word.
of output that is read by Microsoft Word.
of output that is read by Microsoft Word.
of output that is read by Microsoft Word.