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 (August 2009, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 28 Aug 2009 09:56:53 -0700
Reply-To:     Barry Schwarz <schwarzb@DQEL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Barry Schwarz <schwarzb@DQEL.COM>
Organization: Aioe.org NNTP Server
Subject:      Re: What is wrong with my data step code
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=us-ascii

On Thu, 27 Aug 2009 10:35:49 -0700, proccontents@GMAIL.COM (SAS_learner) wrote:

>I am running following code on EG and Unix SAS . On EG it is fine but on >Unix side it is giving me error any Idea why > >Data l1 ; > Input Aetoxgrn; >datalines ; >0 >.5 >.9 >1 >2 >3 >4 >5 >6 >; >Run; > >489 Data l1 ; >490 Input Aetoxgrn; >491 datalines ; > >NOTE: Invalid data for Aetoxgrn in line 492 1-2. >RULE: >----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+- > >492 CHAR >0. > > ZONE >30222222222222222222222222222222222222222222222222222222222222222222222222222222 > NUMR >0D000000000000000000000000000000000000000000000000000000000000000000000000000000 >Aetoxgrn=. _ERROR_=1 _N_=1 >NOTE: Invalid data for Aetoxgrn in line 493 1-3.

The second character is hex 0D. This is not the decimal point character. It is the control character for carriage return. Some systems use it to indicate the end of a text line but I thought Unix used 0A. Windows uses 0D0A.

It looks like you transferred the data from a Windows system but the end of line conversion was not performed properly.

-- Remove del for email


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