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 (December 2006, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: sas-l@uga.edu
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 !!


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