<?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: I am importing  an excel sheet to sas . One of the excel cells contain unknown number of strings in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-am-importing-an-excel-sheet-to-sas-One-of-the-excel-cells/m-p/746633#M234232</link>
    <description>&lt;P&gt;One of the fundamental aspects in analytics is data preparation.&lt;BR /&gt;You need to pre process your excel spreadsheet to make it suitable for SAS.&lt;BR /&gt;While SAS can be capable of doing many things, design your spreadsheets for SAS&lt;BR /&gt;Identify the common elements in that paths and separate them into columns.&lt;BR /&gt;This will save time and makes working easier&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 01:00:42 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2021-06-09T01:00:42Z</dc:date>
    <item>
      <title>I am importing  an excel sheet to sas . One of the excel cells contain unknown number of strings.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-importing-an-excel-sheet-to-sas-One-of-the-excel-cells/m-p/746545#M234200</link>
      <description>&lt;P&gt;My excel input contain 24 fields. One of the cells in the excel sheet is paths of file. and their will be multiple paths separated by linefeed.&amp;nbsp; The number of file paths in each cell&amp;nbsp; differs. In another cells holds multiple file names. The number of file names in each cell differs.&amp;nbsp; &amp;nbsp;I did import the excel sheet to a sas dataset. The object of the program&amp;nbsp; is- whenever a new row is added to the excel sheet, if the added date is &amp;lt;=today()-1, then check for duplicates in the filename, if true check for duplicate file paths.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; need help in resolving this oiissue.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 18:37:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-importing-an-excel-sheet-to-sas-One-of-the-excel-cells/m-p/746545#M234200</guid>
      <dc:creator>mathewse111</dc:creator>
      <dc:date>2021-06-08T18:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: I am importing  an excel sheet to sas . One of the excel cells contain unknown number of strings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-importing-an-excel-sheet-to-sas-One-of-the-excel-cells/m-p/746633#M234232</link>
      <description>&lt;P&gt;One of the fundamental aspects in analytics is data preparation.&lt;BR /&gt;You need to pre process your excel spreadsheet to make it suitable for SAS.&lt;BR /&gt;While SAS can be capable of doing many things, design your spreadsheets for SAS&lt;BR /&gt;Identify the common elements in that paths and separate them into columns.&lt;BR /&gt;This will save time and makes working easier&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 01:00:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-importing-an-excel-sheet-to-sas-One-of-the-excel-cells/m-p/746633#M234232</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-06-09T01:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: I am importing  an excel sheet to sas . One of the excel cells contain unknown number of strings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-importing-an-excel-sheet-to-sas-One-of-the-excel-cells/m-p/746771#M234295</link>
      <description>&lt;P&gt;I have a sneaking suspicion that whatever you are doing, if you get it to work, will fail in the future.&lt;/P&gt;
&lt;P&gt;For one thing, you will have to "import" the file after every change.&lt;/P&gt;
&lt;P&gt;Second "import" tools will guess as to the length of variables using a small number of rows. If you have longer values after that number of rows you have a very high likelihood of truncated (incomplete) data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will likely have a better chance of success if you make individual rows for each path/file entry and don't let anyone insert multiple ones into a single cell.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One reason for the individual rows is that one of the first things you would have to do for the "duplicate" check to be efficient is to create a data set with one observation per. Which with possible truncated data is going to have other issues.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 14:48:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-importing-an-excel-sheet-to-sas-One-of-the-excel-cells/m-p/746771#M234295</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-09T14:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: I am importing  an excel sheet to sas . One of the excel cells contain unknown number of strings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-importing-an-excel-sheet-to-sas-One-of-the-excel-cells/m-p/746798#M234309</link>
      <description>&lt;P&gt;Please construct a simple example of what you are trying to do to clarify your problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You probably do not need to include all 24 fields or more than two or three paths per example row.&amp;nbsp; Also for purpose of sharing your example it will be easier to use | or some other character instead of LineFeed to delimit the paths:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
  infile cards dsd truncover ;
  input v1 :$10. v2 v3 paths :$200. ;
cards;
A,1,2,/one|/two
B,2,3,/three|/four
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then show what output you want from this example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is it that you know something new is added?&amp;nbsp; Is one of the fields a date or datetime value?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 15:54:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-importing-an-excel-sheet-to-sas-One-of-the-excel-cells/m-p/746798#M234309</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-06-09T15:54:16Z</dc:date>
    </item>
  </channel>
</rss>

