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 (September 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 16 Sep 2009 07:10:44 -0500
Reply-To:     "Data _null_;" <iebupdte@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Data _null_;" <iebupdte@GMAIL.COM>
Subject:      Re: Simulating a title with the PUT statement XXX
Comments: To: Gerhard Hellriegel <gerhard.hellriegel@t-online.de>
In-Reply-To:  <200909161143.n8GAkfmk004522@malibu.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1

_BLANKPAGE_

title "Results for Subpopulation #&I:";

DATA _NULL_; FILE PRINT; PUT _blankpage_; RUN;

On 9/16/09, Gerhard Hellriegel <gerhard.hellriegel@t-online.de> wrote: > if you have something to list, why don't you use a title statement? > If you have nothing and want only the title, you must use a char which is > not visible, but not blank. I think hex FF or ED (somewhere around that) > is something what you could use to force SAS to produce a output. > > title "Results for Subpopulation #&I:"; > > DATA _NULL_; > FILE PRINT; > PUT "."; PUT ; PUT; > RUN; > > Gerhard > > > > On Wed, 16 Sep 2009 03:44:34 -0400, Dan Abner <dan.abner99@GMAIL.COM> > wrote: > > >Hello, > > > >Does anyone know how to center a character string in the listing and print > >it in blue using a PUT statment (In other words, to mimick a title)? > > > >I have the following DATA step that I use in what I hope will be a > >production level macro. Just need this to look like a proper title. I > would > >rather not call a null PROC step just to get a title to print... > > > >DATA _NULL_; > > > >FILE PRINT; > > > >PUT; PUT "Results for Subpopulation #&I:"; PUT; > > > >RUN; > > > >Thanks! > > > > > > > >Daniel >


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