SAS database into TXT

  • Follow


Hi everybody,=0A=0AI am trying to convert a SAS file with numeric and chara=
cter info into the following TXT format:=0A=0A123,"Tom",123,"Mills"...=0A=
=0AIt is that possible? can you help me?=0A=0AThanks,=0A=0AMAH.=0A=0A=0A=09=
=09=0A______________________________________________ =0ALLama Gratis a cual=
quier PC del Mundo. =0ALlamadas a fijos y m=F3viles desde 1 c=E9ntimo por m=
inuto. =0Ahttp://es.voice.yahoo.com
0
Reply miguel_hoz (74) 5/22/2007 8:58:31 PM

Miguel de la Hoz wrote:
> Hi everybody,=0A=0AI am trying to convert a SAS file with numeric and
> character info into the following TXT

The FILE option DLM and $QUOTE format fit the bill.

data foo;
  file log dlm=',';

  x =1;
  a ='a';
  y=2;
  b='b';
  z=3;
  c='c';

  format _numeric_ best12.;
  format _character_ $quote12.;

  put x--c;
run;

-- 
Richard A. DeVenezia
http://www.devenezia.com/


0
Reply rdevenezia1 (1434) 5/23/2007 1:01:22 PM


1 Replies
38 Views

(page loaded in 0.064 seconds)

Similiar Articles:













7/19/2012 3:47:50 PM


Reply: