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 (October 1996, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 14 Oct 1996 12:53:29 -0700
Reply-To:     gxx18300@ggr.co.uk
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
Comments: To: Tim Pi <timpi%yaw%fmrco@UUNET.UU.NET>

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. > > Thanks! > > Tim

Tim,

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. ; run;

HTH Bruce


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