<?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: SAS ETL Studio job for excel file import in Developers</title>
    <link>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/6228#M2148</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
DI job to import the excel sheets is simple if you are using a basic proc import code in User Written code transformation.&lt;BR /&gt;
&lt;BR /&gt;
But this can lead to some issues while importing data. Normally, If I am not wrong these excel sheets are used by employees who would not think of formats for a column while writing a data into it. You can even receive a column with Zero (0) entered in it for all its rows in one month and character data next month,  even if its understandable from the column name that it should be a character. &lt;BR /&gt;
&lt;BR /&gt;
Now the problem you will face is that when you are importing the sheet with character column having Zero in it then proc import will by default assign the data type for that column as NUMERIC, and when the next month data comes where it is a character as it should be defined for the same table, It will throw an error since while creating the table it was numeric, and now inserting character data in it.&lt;BR /&gt;
&lt;BR /&gt;
So you need to figure out a proper format for all the columns and transform those columns in that format as required.&lt;BR /&gt;
&lt;BR /&gt;
Then you can insert the data monthly. &lt;BR /&gt;
&lt;BR /&gt;
Believe me it could take a while initially for the problem to be solved, but when you complete it then it becomes quite easy to use the code for many other purposes.&lt;BR /&gt;
&lt;BR /&gt;
Do reply to it if you need any help. I have the code for such an import done already.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks &amp;amp; Regards,&lt;BR /&gt;
Saurabh</description>
    <pubDate>Fri, 20 Feb 2009 06:56:06 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-02-20T06:56:06Z</dc:date>
    <item>
      <title>SAS ETL Studio job for excel file import</title>
      <link>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/6225#M2145</link>
      <description>Hi &lt;BR /&gt;
&lt;BR /&gt;
We have a project scenario where we need to create ETL jobs for importing excel files received monthly. &lt;BR /&gt;
&lt;BR /&gt;
Is it possible to import data from Excel file using ETL studio?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Srini</description>
      <pubDate>Tue, 08 Jan 2008 23:18:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/6225#M2145</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-01-08T23:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ETL Studio job for excel file import</title>
      <link>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/6226#M2146</link>
      <description>Hi:&lt;BR /&gt;
  Assuming that you have everything on the platform configured and set up and the required SAS/Access product on the right servers, then you should be able to set up an ETL (now DI Studio) process flow to do that import. Then, it would also be possible to turn the ETL or DI Studio job into a Stored Process.&lt;BR /&gt;
  The ETL and/or DI Studio documentation outlines how to put together process flows and how to turn ETL/DI Studio jobs into stored processes. Or, you could contact Tech Support for more help.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 09 Jan 2008 14:09:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/6226#M2146</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-01-09T14:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ETL Studio job for excel file import</title>
      <link>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/6227#M2147</link>
      <description>Hi Srinig,&lt;BR /&gt;
 &lt;BR /&gt;
        As Cynthia@sas said the requiremnet for the SAS DI , it is core part (installation) and ,&lt;BR /&gt;
&lt;BR /&gt;
  Let me tell you first step is 1) I think you know how to create the library in DI.&lt;BR /&gt;
2) By using the source designer Short cut icon,then u will get a window  containing external file option . This will helpful for any external data extraction either it is excel, .txt or .csv.&lt;BR /&gt;
3) place the source and target ....by using the table loader tansformation job&lt;BR /&gt;
4) then schedule the job..as per u r requirement.&lt;BR /&gt;
&lt;BR /&gt;
          I hope that this will slove your problem.&lt;BR /&gt;
&lt;BR /&gt;
Thanks &amp;amp; Regards&lt;BR /&gt;
RAJESH.KARNATI</description>
      <pubDate>Fri, 16 Jan 2009 12:09:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/6227#M2147</guid>
      <dc:creator>K_rn_tiR_jesh</dc:creator>
      <dc:date>2009-01-16T12:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ETL Studio job for excel file import</title>
      <link>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/6228#M2148</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
DI job to import the excel sheets is simple if you are using a basic proc import code in User Written code transformation.&lt;BR /&gt;
&lt;BR /&gt;
But this can lead to some issues while importing data. Normally, If I am not wrong these excel sheets are used by employees who would not think of formats for a column while writing a data into it. You can even receive a column with Zero (0) entered in it for all its rows in one month and character data next month,  even if its understandable from the column name that it should be a character. &lt;BR /&gt;
&lt;BR /&gt;
Now the problem you will face is that when you are importing the sheet with character column having Zero in it then proc import will by default assign the data type for that column as NUMERIC, and when the next month data comes where it is a character as it should be defined for the same table, It will throw an error since while creating the table it was numeric, and now inserting character data in it.&lt;BR /&gt;
&lt;BR /&gt;
So you need to figure out a proper format for all the columns and transform those columns in that format as required.&lt;BR /&gt;
&lt;BR /&gt;
Then you can insert the data monthly. &lt;BR /&gt;
&lt;BR /&gt;
Believe me it could take a while initially for the problem to be solved, but when you complete it then it becomes quite easy to use the code for many other purposes.&lt;BR /&gt;
&lt;BR /&gt;
Do reply to it if you need any help. I have the code for such an import done already.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks &amp;amp; Regards,&lt;BR /&gt;
Saurabh</description>
      <pubDate>Fri, 20 Feb 2009 06:56:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/6228#M2148</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-02-20T06:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ETL Studio job for excel file import</title>
      <link>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/396580#M2149</link>
      <description>&lt;P&gt;i want to import the excel file in di to automate the job so please give me some suggesion to import excel file and i will give proper format and informat and type...&lt;/P&gt;</description>
      <pubDate>Sat, 16 Sep 2017 18:20:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/396580#M2149</guid>
      <dc:creator>nileshwani12</dc:creator>
      <dc:date>2017-09-16T18:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ETL Studio job for excel file import</title>
      <link>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/397593#M2150</link>
      <description>1. Don't hijack old posts. This one is 9 yeara old!&lt;BR /&gt;2. The hints in this thread should at least get you started. &lt;BR /&gt;Please create new thread (in the Data Management forum), and try to be more specific of wgat you don't know how to do.</description>
      <pubDate>Wed, 20 Sep 2017 20:01:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-ETL-Studio-job-for-excel-file-import/m-p/397593#M2150</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-09-20T20:01:33Z</dc:date>
    </item>
  </channel>
</rss>

