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 2007, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 2 Oct 2007 11:27:57 -0700
Reply-To:   mholmes@CUESTA.EDU
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   mholmes@CUESTA.EDU
Organization:   http://groups.google.com
Subject:   Messy Data
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset="iso-8859-1"

Hello all, I am relatively new to SAS and am trying to read into SAS a text file that has three variables (carbon monoxide levels, source, and date). Here is an example of a few of the data lines: 15 BAAQMD 09/10/92 20 BAAQMD 09/22/92 15 BAAQMD 03/30/93 45 refinery 04/16/93 30 refinery 04/17/93 My code is as follows:

data oil ; infile "Z:\MHolmes\STAT 530\Unzipped Files\data_refinery.dat" ; input Monox source :$8. date mmddyy. ; run ;

Proc print data.oil ; run ;

My output is indicating that some of my dates are missing (ie a period shows up). Any idea how to fix this problem? Thanks.

Mike


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