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 (July 2000, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 17 Jul 2000 16:39:50 -0400
Reply-To:   "Kerrison, James" <James.Kerrison@FMR.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Kerrison, James" <James.Kerrison@FMR.COM>
Subject:   Re: Using Proc printto / Proc Report
Content-Type:   text/plain; charset="iso-8859-1"

I just want to clarify that this code does in fact work properly. I was looking at the file via Intranet instead of in an editor. When I looked at the editor, and subsequently "tested" the new data by reading it again it was fine. My apologies for any confusion, and thanks again to Bas and Ya and John.

Foster Kerrison.

> -----Original Message----- > From: Kerrison, James > Sent: Monday, July 17, 2000 2:25 PM > To: SAS-L@LISTSERV.UGA.EDU > Subject: > > Thanks to Bas and Ya for their responses to this question. > > The use of the TITLE; statement took out most of lines at the top of the > report. There is one blank line, but I think we can live with that. SAS > tech support said that this is a carriage return, and cannot be removed. > > The other suggestion was to use the nocenter option and the spacing = 0 > option. These did not remove the blank column on the left of the report, > but again this is a minor issue. SAS tech support suggested using the > spacing = option in the define statement, but that did not remove the > blanks columns either. The issue in this case seems to be O/S related. > > For those who might be interested the final code looks like this: > > OPTIONS NOCENTER NONUMBER NODATE ; > > SAS datasteps..... > > PROC PRINTTO PRINT = NEWFILE NEW ; > RUN ; > > PROC REPORT DATA = XXXX SPLIT = '*' SPACING = 0 ; > TITLE; > > COLUMNS .... > > DEFINE ....(CAN INCLUDE SPACING = STATEMENT) > > PROC PRINTTO ; > RUN ; > > ORIGINAL MESSAGE > > I am using PROC PRINTTO to send PROC REPORT output to a file. When I look > at the file there are 4/5 blank lines at the top of the file. Does anyone > have a trick to remove these blank lines? I do not have page numbers at > the top of the report. > > I would also like to delete the blank column on the left so that the data > starts in column 1, but that is a smaller issue. > > If possible I would like to avoid using the PUT @ option because there are > a lot of vars with headers, and PROC REPORT has grouped and analysed the > data just the way I want it. > > The current file would look like: > > -------------------------------------------------------------------------- > ---------------------------------------------- (top of file) > > > > Name City Age > John New York 25 > > and what I want is: > > -------------------------------------------------------------------------- > ---------------------------------------------- (top of file) > Name City Age > John New York 25 > > TIA, > > Foster Kerrison > >


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