LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (September 2004, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 10 Sep 2004 15:03:35 +0800
Reply-To:     "Rex.Lv" <rex.lv@126.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Rex.Lv" <rex.lv@126.COM>
Organization: Bentium Ltd. (CN99)
Subject:      About Import Procedure, ASK FOR HELP!!!

Hi,

I want to import some data from excel files, but I'm lost. The columns that have over 25 characters are automatically truncated to 25 character. Anybody could give me a hand? Thx. a lot!

The code that I used to import data is as followed:

PROC IMPORT OUT= WORK.t DATAFILE= "C:\datafile.xls" /*The excel file includes the data*/ DBMS=EXCEL2000 REPLACE; RANGE="Sheet1$"; /*The sheet I want to import*/ GETNAMES=YES; RUN;

Best Regards, Rex


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