Date: Wed, 1 Dec 2004 12:28:04 -0700
Reply-To: Roberto Valdivia <valdivia@MONTANA.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Roberto Valdivia <valdivia@MONTANA.EDU>
Subject: Re: Format question
In-Reply-To: <004901c4d7e2$92bf5550$f800a8c0@Adriano>
Content-Type: text/plain; charset="US-ASCII"
Thanks!.. "Format _all_" works!.
Roberto.
-----Original Message-----
From: Adriano Rodrigues - Instituto GPP [mailto:adriano@gpp.com.br]
Sent: Wednesday, December 01, 2004 1:16 PM
To: Roberto Valdivia
Cc: sas
Subject: Re: Format question
format _all_ 15.6 ;
or
format x1-x50 16.6;
should work...
----- Original Message -----
From: "Roberto Valdivia" <valdivia@MONTANA.EDU>
Newsgroups: bit.listserv.sas-l
To: <SAS-L@LISTSERV.UGA.EDU>
Sent: Wednesday, December 01, 2004 4:00 PM
Subject: Format question
> Hello to all!, Could somebody help me with a simple question?..Thanks!:
>
> I have a program and at the end I want to export the final database to a
dbf
> file,
> To do that I have to format the variables. What happens is that I have
many
> variables
> (sometimes more than 50), so instead of writing the name of all the
> variables, is there
> any other way I can do this?. Below is the structure of the program I use
to
> write to dbf.
>
> Thanks!
> Roberto.
>
> *define dbf output file;
> FILENAME TEST 'c:\DATABASE\OUTPUT.DBF';
>
> DATA A;...
> :
> : *PROCESS HERE;
> :
>
> * write to dbf;
> DATA TEST; SET A;
> FORMAT X1 X2 X3 .......
> .... X50 15.6;
>
> PROC DBF DATA=TEST DB4=TEST;
> RUN;
>
>
> __________ NOD32 1.936 (20041130) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.nod32.com
>
>
|