<?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: Data truncated when database updated in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Data-truncated-when-database-updated/m-p/684018#M19563</link>
    <description>&lt;P&gt;System options stay until they are changed, or the SAS session ends. This can make them quite dangerous to use without proper diligence &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2020 18:15:43 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-09-15T18:15:43Z</dc:date>
    <item>
      <title>Data truncated when database updated</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Data-truncated-when-database-updated/m-p/683977#M19559</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the length of this question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have about 20 datasets that I cleaned in their own files. I merged them in a separate file, and had no issues with the database at that time. The process was 1. save completed individual datasets to a library 2. in a separate file, sort and merge all datasets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I updated individual datasets several times and re-ran the merge to update the database without issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this most recent update, I the dataset I updated was 73 observations. When I re-ran the merge, half the datasets were truncated to 73 observations. I had to re-run each dataset individually and then merge again. I didn't change any code, either before or after the error; it was corrected just by re-running.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering if anyone has experience with similar issues. I'd like to avoid this happening again, as it's time consuming and I might not always realize there's missing data right away.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 15:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Data-truncated-when-database-updated/m-p/683977#M19559</guid>
      <dc:creator>Betsy</dc:creator>
      <dc:date>2020-09-15T15:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Data truncated when database updated</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Data-truncated-when-database-updated/m-p/683989#M19560</link>
      <description>&lt;P&gt;You would have to show the entire code and likely the LOG of the run that created the incomplete data to provide any relevant answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The most likely thing I would expect to be a sort issue meaning that UPDATE or MERGE would fail, but you don't say if you read the logs after the first problem run.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 15:51:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Data-truncated-when-database-updated/m-p/683989#M19560</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-09-15T15:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Data truncated when database updated</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Data-truncated-when-database-updated/m-p/684005#M19561</link>
      <description>&lt;P&gt;In this post:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/Extra-rows-when-importing-Excel-data/m-p/683662/highlight/true#M19554" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Data-Management/Extra-rows-when-importing-Excel-data/m-p/683662/highlight/true#M19554&lt;/A&gt;&amp;nbsp;you used&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options obs=73;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which, I guarantee you, caused your problem. See Maxim 50.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 17:03:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Data-truncated-when-database-updated/m-p/684005#M19561</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-15T17:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Data truncated when database updated</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Data-truncated-when-database-updated/m-p/684008#M19562</link>
      <description>&lt;P&gt;Thank you! It appears that command translated to other datasets in separate files, which I had no idea it could do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for referencing the maxims, I bookmarked them and found them all extremely helpful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 17:26:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Data-truncated-when-database-updated/m-p/684008#M19562</guid>
      <dc:creator>Betsy</dc:creator>
      <dc:date>2020-09-15T17:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data truncated when database updated</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Data-truncated-when-database-updated/m-p/684018#M19563</link>
      <description>&lt;P&gt;System options stay until they are changed, or the SAS session ends. This can make them quite dangerous to use without proper diligence &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 18:15:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Data-truncated-when-database-updated/m-p/684018#M19563</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-15T18:15:43Z</dc:date>
    </item>
  </channel>
</rss>

