Date: Wed, 13 Dec 2006 08:21:24 -0800
Reply-To: Akramx <akram.chriai@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Akramx <akram.chriai@GMAIL.COM>
Organization: http://groups.google.com
Subject: no semicolon after a date field
Content-Type: text/plain; charset="iso-8859-1"
Hi folks,
I create a semicolon delimited text file, but after a field with
YYMMDD10. format, there is no semicolon.
Can any one help? here is a sample of SAS code.
data test;
input a YYMMDD10. b;
datalines;
1997-12-154
1980-04-209
;
run;
DATA _null_;
file "c:\test.txt" delimiter=';' DSD;
set test;
put a YYMMDD10. @; /* the @ is needed to have the next values on the
same line */
put b $;
;
run;
in test.txt I don't have the semicolon between the field a and b; but
when i put b before a, i have a semicolon !!
|