Date: Thu, 13 May 1999 09:42:25 -0500
Reply-To: Michael S Hines <mshines@PURDUE.EDU>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Michael S Hines <mshines@PURDUE.EDU>
Subject: Re: DDE
Content-Type: text/plain; charset="us-ascii"
The only changes I would make to Ed's suggestion would be to use options on
the INFILE statement as documented in the SAS Companion for Microsoft
Windws Environment, The SAS Companion for the Microsoft Windows NT
Environment, A Handbook for SAS Users, and The Little SAS Book: A Primer -
INFILE yourfilename dsd dlm='09'x missover;
dsd provides protection for empty Excel cells (that is back to back field
dlm provides for tab separation of columns the default method of DDE
missover provides that if you have more fields than columns that the extra
fields will be set to missing values (blank for character, . for numeric).
without missover, the system reads the next logical record to try to assign
values to your data fields - not what you want I expect.
There are samples at the following site if you are interested.
Internet: email@example.com | Michael S. Hines CDP,CISA,CIA,CFE
Voice: (765) 494-5338 | Coordinator of Systems and Programming
FAX: (765) 496-1466 | Purdue University
| 1280 Engineering Administration
| West Lafayette, IN 47907-1280