As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tip of the Day

From sasCommunity
Revision as of 14:42, 19 May 2017 by Paulkaefer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

sasCommunity Tip of the Day

data class30;
set sashelp.class;
do check = 1 to 30;
    output;
    end;
run;
 
ods pdf file ='c:\temp\class30.pdf';
 
proc report data=class30 nowd out=show spanrows;
    column age name check sex;
    define age /order;
    define name / order ;
run;
ods pdf close;

The new (SAS 9.2) SPANROWS option on the PROC REPORT statement, provides a way to repeat the value of a GROUP or ORDER variable if that variable's value spans more than one page. The option works with RTF, PDF, and some other destinations. See a SAS Forum thread on this.


Submitted by Art Carpenter. Contact me at my Discussion Page.



Feel free to comment on this tip.


Prior tip - Next tip -- Random Tip

Submit a Tip


 

Tips Index by Status

Currently in Use | Yet to be Scheduled | Still Under Review | Tip Awaiting Refinement

Search Tips:


The Tip of the Day Project

A new technical Tip of the Day related to SAS software will be shown on this page and the sasCommunity.org main page every day. Before getting started, you can Browse and Search the current list of tips contributed by users.

Anyone can participate. We hope you do! Here's how:

  1. Submit a Tip by posting a SAS tip that you think others might find useful
  2. Review a Tip prior to publishing
This effort is similar to, and was motivated by, the Wikipedia Tip of the Day Project. Please tell us what you think