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
Content-Type: text/plain; charset=ISO-8859-1
title "Results for Subpopulation #&I:";
On 9/16/09, Gerhard Hellriegel <email@example.com> 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;
> On Wed, 16 Sep 2009 03:44:34 -0400, Dan Abner <dan.abner99@GMAIL.COM>
> >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
> >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;