- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
data class; set sashelp.class sashelp.class; run; options nodate nonumber orientation=portrait missing=""; ods rtf file="yourpath.rtf" style=Journal; proc report data=class headline headskip nowd; run; ods rtf close;
After the proc report, there is a forced line breaks (maybe "\n").
Is there a way to not output this line break in the proc report? Because This will take up a row of space.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Try to use TAGSETS.RTF + options(vsspace='no') :
data class;
set sashelp.class sashelp.class;
run;
title;
ods tagsets.rtf text= 'xxxx';
options nodate nonumber orientation=portrait missing="";
ods tagsets.rtf file="c:\temp\temp.rtf" style=Journal options(vsspace='no' CONTINUE_TAG='no');
proc report data=class headline headskip nowd;
run;
ods tagsets.rtf close;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Try to use TAGSETS.RTF + options(vsspace='no') :
data class;
set sashelp.class sashelp.class;
run;
title;
ods tagsets.rtf text= 'xxxx';
options nodate nonumber orientation=portrait missing="";
ods tagsets.rtf file="c:\temp\temp.rtf" style=Journal options(vsspace='no' CONTINUE_TAG='no');
proc report data=class headline headskip nowd;
run;
ods tagsets.rtf close;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@Ksharp 👍
I swear it's impossible to know about all the ODS options and capabilities unless you stumble upon them and save a note somewhere.
vsspace
is not described on this page where it should be.
ODS has grown over the years, especially after the tagsets came along. There are now multiple ways to do things, with each method having different abilities and limitations. SAS should clean this up, pick a destination that can do it all and let the other destinations become obsolete, and document that destination properly. The worst most prolific is the relationship with Excel, as @ChrisHemedinger briefly demonstrated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
you can check all the option of tagsets.rtf by :
ods tagsets.rtf options(doc='help');
Actually I learned this option vsspace='no' is from @Cynthia_sas , I also have no time to go throught all these options of all these ODS destinations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@Ksharp There's no vsspace
in the help either.
There's this though:
VSPACE: Default value is 'yes'. Current Value: on Usage: OPTIONS(VSPACE='yes') Description: uses the PARSKIP event to place a space table in the document. 'yes' and 'on' have the same action. Assigning 'no' or 'off' uses no PARSKIP table.
which is hardly helpful. It might be the same as vsspace
who knows.
It's a mess. 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
SAS has some intelligence to know those are the same option .
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Mmm the usual message for fixing typos is not there, like
WARNING 1-322: Assuming the symbol RENAME was misspelled as RENAEM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
For example: P= is same with PREDICTED= :
proc glm data=sashelp.class;
model weight=height;
output out=out predicted=pred;
quit;
proc glm data=sashelp.class;
model weight=height;
output out=out p=pred;
quit;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I need to output this RTF when making TLFs for FDA Submission. So, what is the difference between ods tagsets.rtf and ods rtf? What extra precautions should I take when using the ods tagsets.rtf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content