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 (January 1997, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 7 Jan 1997 08:03:10 +0000
Reply-To:     Niels Ejner Andersen <nea@TDK.DK>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Niels Ejner Andersen <nea@TDK.DK>
Subject:      REF: data set problem


try using comma10.3

Niels Ejner Andersen Tele Danmark

>>Hi SAS users, >> >> I use 'comma' format to read a variable which is at the >> end of a record. The data set is saved as a space delimited >> text file from Excel. This file is like: >>.........+.........+.........+.........+ >>Mary 646 Green St. 50.01 556.44 >>John 8766 Gray Av. (56.3) 75.98 >>Jack 12 Marion Rd. 6.77 (45.62) >> >>... >>********* >>If I use the following format, (45.62) can not be read in, that is, >>the value is missing. >> >>@1 name $4 >>@8 address $13 >>@21 num1 comma9.2 >>@30 num2 comma9.2; >> >>********* >>If I use comma10.2 instead, both 556.44 and 75.98 cannot be read in. >> >> >>Any idea? >> >>Thanks! >> >>Tim

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