Date: Mon, 14 Oct 1996 12:53:29 -0700
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Bruce Rogers <gxx18300@GGR.CO.UK>
Organization: Medical IR, Glaxo Wellcome
Subject: Re: space between two variables
Tim Pi wrote:
> Hi SAS users,
> Does everyone know how to set '09'x, that is, [Tab], as a default
> space between two variables when using 'proc printto and proc print'
> to output datasets to a file.
The best way I can think of is to use a DATA _null_ step to generate
your output, rather than proc print. This also removes the requirement
to use printto to redirect to a file. e.g.
DATA _null_ ;
file 'c:\txt.dat' ;
length tabvar $ 1 ;
tabvar = '09'x;
put @1 var1 5.2
@8 tabvar 1.
@10 var2 5. ;