<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reg:Importing Excel and Formatting during Importing Process.....? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Importing-Excel-and-Formatting-during-Importing-Process/m-p/52295#M14349</link>
    <description>If you don't want DDE then use libname Excel engine:&lt;BR /&gt;
 [pre]&lt;BR /&gt;
  libname xl excel 'd:\mbm\2010\acc.xls';&lt;BR /&gt;
  data comiss;&lt;BR /&gt;
  length comm_adj $200. ss_naim $100. client $100.;&lt;BR /&gt;
  informat comm_adj $200. ss_naim $100. client $100.;&lt;BR /&gt;
  set xl.newacc;&lt;BR /&gt;
  format comm_adj $200. ss_naim $100. client $100.;&lt;BR /&gt;
  run;&lt;BR /&gt;
 libname xl clear;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Oleg.</description>
    <pubDate>Mon, 19 Jul 2010 08:45:14 GMT</pubDate>
    <dc:creator>Oleg_L</dc:creator>
    <dc:date>2010-07-19T08:45:14Z</dc:date>
    <item>
      <title>Reg:Importing Excel and Formatting during Importing Process.....?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Importing-Excel-and-Formatting-during-Importing-Process/m-p/52293#M14347</link>
      <description>Hi i am having a excel file i want to import it into sas and I should declare length,format and informat during the importing only. I have tryed by using FILENAME and INFILE but it is not coming can any one help me the code for this. And with out DDE,Before a dataset being creating i.e during the import process i need to apply formats.</description>
      <pubDate>Mon, 19 Jul 2010 07:56:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Importing-Excel-and-Formatting-during-Importing-Process/m-p/52293#M14347</guid>
      <dc:creator>R_Win</dc:creator>
      <dc:date>2010-07-19T07:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:Importing Excel and Formatting during Importing Process.....?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Importing-Excel-and-Formatting-during-Importing-Process/m-p/52294#M14348</link>
      <description>Hi&lt;BR /&gt;
If you have to use DDE-engine then look at the example of the code below:&lt;BR /&gt;
[pre]&lt;BR /&gt;
 filename dt dde 'excel|dt!r2c1:r65536c23' ;                                                                                            &lt;BR /&gt;
 data dt2 ;                                                                                                      &lt;BR /&gt;
 infile dt missover notab dlm='09'x dsd ls=20000;                                                                                       &lt;BR /&gt;
 informat  site $3. sbal_kod $5. ss_kod $15. simbol $5. ss_naim $100. ss_ostd comma20. ss_ostc comma20.                                 &lt;BR /&gt;
           client $100. k_client $12. client_t $1. paccsbal $8. acc4 $8. comiss $1.                                                     &lt;BR /&gt;
           comm_adj $200. drcr $2. sbalname $200. acc3 $8. acc2 $8. acc1 $8.  accnr4 $200. accnr3 $200. accnr2 $200. accnr1 $200.;      &lt;BR /&gt;
 input  site sbal_kod ss_kod simbol ss_naim ss_ostd ss_ostc client k_client client_t paccsbal acc4 comiss comm_adj                      &lt;BR /&gt;
        drcr sbalname acc3 acc2 acc1 accnr4 accnr3 accnr2 accnr1;                                                                       &lt;BR /&gt;
 run;                                                                                                                                   &lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Oleg.</description>
      <pubDate>Mon, 19 Jul 2010 08:31:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Importing-Excel-and-Formatting-during-Importing-Process/m-p/52294#M14348</guid>
      <dc:creator>Oleg_L</dc:creator>
      <dc:date>2010-07-19T08:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:Importing Excel and Formatting during Importing Process.....?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Importing-Excel-and-Formatting-during-Importing-Process/m-p/52295#M14349</link>
      <description>If you don't want DDE then use libname Excel engine:&lt;BR /&gt;
 [pre]&lt;BR /&gt;
  libname xl excel 'd:\mbm\2010\acc.xls';&lt;BR /&gt;
  data comiss;&lt;BR /&gt;
  length comm_adj $200. ss_naim $100. client $100.;&lt;BR /&gt;
  informat comm_adj $200. ss_naim $100. client $100.;&lt;BR /&gt;
  set xl.newacc;&lt;BR /&gt;
  format comm_adj $200. ss_naim $100. client $100.;&lt;BR /&gt;
  run;&lt;BR /&gt;
 libname xl clear;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Oleg.</description>
      <pubDate>Mon, 19 Jul 2010 08:45:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Importing-Excel-and-Formatting-during-Importing-Process/m-p/52295#M14349</guid>
      <dc:creator>Oleg_L</dc:creator>
      <dc:date>2010-07-19T08:45:14Z</dc:date>
    </item>
  </channel>
</rss>

