LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 1997, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 14 Aug 1997 11:44:41 -0400
Reply-To:     "Childs, Randy" <RCHILD@ABTI.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         "Childs, Randy" <RCHILD@ABTI.COM>
Subject:      Re: Line Spacing in Output
Comments: To: TJQC96A@PRODIGY.COM
Content-type: text/plain; charset=US-ASCII

You don't need to adjust your program or go to the lengths suggested by Tim Berryhill. Simply do a small amount of pre-processing. Create a variable that tells your DATA _NULL_ where to skip.

DATA K; SET K; BY QNUM; IF LAST.QNUM THEN SKIP = 1; ELSE SKIP = 0; RUN;

data _null_; file print n=ps; options nonumber nodate; put #3 @3 'Qnum' @15 'Qanswer' @25 'QAweight' @35 'Qweight' @45 'TotQa' @55 'MaxScore' @65 'Pct'; do i=1 to 67; set k; by qnum; put #1 @6 qnum @18 qanswer @29 n_qaw @38 qweight @48 n_totqa @56 Max @65 n_pct;

IF SKIP = 1 THEN PUT ' '; end; put _page_; run;

Randy Childs Alpha-Beta Technology rchild@abti.com


Back to: Top of message | Previous page | Main SAS-L page