<?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: What is an efficient way to save and access the clean data set at the end of the data cleaning p in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-efficient-way-to-save-and-access-the-clean-data-set/m-p/723213#M224384</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/84351"&gt;@Emma_at_SAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I cleaned a data set and at the end of the cleaning, I saved the clean SAS data set, as permanent data.&lt;/P&gt;
&lt;P&gt;Because during my data cleaning I created some format values (using PROC FORMAT; ), now I must read the format file before reading the permanent SAS file. otherwise, For each missing format, I get an error and the following warning&lt;/P&gt;
&lt;DIV&gt;ERROR: The format VARIBLE_1 was not found or could not be loaded.&lt;/DIV&gt;
&lt;DIV&gt;NOTE: The SAS System stopped processing this step because of errors.
&lt;DIV&gt;WARNING: The data set WORK.temp_clean_SAS_data may be incomplete. &amp;nbsp;When this step was stopped there were 0 observations and 42 variables.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;What is an efficient way to save and access the clean data set at the end of the data cleaning process?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*saving the clean data set;&lt;/P&gt;
&lt;P&gt;libname clean "&amp;amp;path";&lt;BR /&gt;data clean.permanent_clean_SAS_data;&lt;BR /&gt;set temp_clean_SAS_data;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*reading the permanent clean data set;&lt;/P&gt;
&lt;P&gt;libname import "&amp;amp;path";&lt;BR /&gt;data temp _data;&lt;BR /&gt;set import.permanent _clean_SAS_data;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There is nothing wrong with accessing the data.&lt;/P&gt;
&lt;P&gt;Set&lt;/P&gt;
&lt;P&gt;OPTIONS NOFMTERR;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You apparently have the option set for FMTERR, which treats a missing format as an error.&lt;/P&gt;
&lt;P&gt;OR make sure the format is available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you attempting to redefine the library?!?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once a library is assigned in a current session just use that library name is the typical approach.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Mar 2021 17:23:15 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-03-03T17:23:15Z</dc:date>
    <item>
      <title>What is an efficient way to save and access the clean data set at the end of the data cleaning proce</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-efficient-way-to-save-and-access-the-clean-data-set/m-p/723197#M224378</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I cleaned a data set and at the end of the cleaning, I saved the clean SAS data set, as permanent data.&lt;/P&gt;
&lt;P&gt;Because during my data cleaning I created some format values (using PROC FORMAT; ), now I must read the format file before reading the permanent SAS file. otherwise, For each missing format, I get an error and the following warning&lt;/P&gt;
&lt;DIV&gt;ERROR: The format VARIBLE_1 was not found or could not be loaded.&lt;/DIV&gt;
&lt;DIV&gt;NOTE: The SAS System stopped processing this step because of errors.
&lt;DIV&gt;WARNING: The data set WORK.temp_clean_SAS_data may be incomplete. &amp;nbsp;When this step was stopped there were 0 observations and 42 variables.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;What is an efficient way to save and access the clean data set at the end of the data cleaning process?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*saving the clean data set;&lt;/P&gt;
&lt;P&gt;libname clean "&amp;amp;path";&lt;BR /&gt;data clean.permanent_clean_SAS_data;&lt;BR /&gt;set temp_clean_SAS_data;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*reading the permanent clean data set;&lt;/P&gt;
&lt;P&gt;libname import "&amp;amp;path";&lt;BR /&gt;data temp _data;&lt;BR /&gt;set import.permanent _clean_SAS_data;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 16:34:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-an-efficient-way-to-save-and-access-the-clean-data-set/m-p/723197#M224378</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2021-03-03T16:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is an efficient way to save and access the clean data set at the end of the data cleaning p</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-efficient-way-to-save-and-access-the-clean-data-set/m-p/723213#M224384</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/84351"&gt;@Emma_at_SAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I cleaned a data set and at the end of the cleaning, I saved the clean SAS data set, as permanent data.&lt;/P&gt;
&lt;P&gt;Because during my data cleaning I created some format values (using PROC FORMAT; ), now I must read the format file before reading the permanent SAS file. otherwise, For each missing format, I get an error and the following warning&lt;/P&gt;
&lt;DIV&gt;ERROR: The format VARIBLE_1 was not found or could not be loaded.&lt;/DIV&gt;
&lt;DIV&gt;NOTE: The SAS System stopped processing this step because of errors.
&lt;DIV&gt;WARNING: The data set WORK.temp_clean_SAS_data may be incomplete. &amp;nbsp;When this step was stopped there were 0 observations and 42 variables.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;What is an efficient way to save and access the clean data set at the end of the data cleaning process?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*saving the clean data set;&lt;/P&gt;
&lt;P&gt;libname clean "&amp;amp;path";&lt;BR /&gt;data clean.permanent_clean_SAS_data;&lt;BR /&gt;set temp_clean_SAS_data;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*reading the permanent clean data set;&lt;/P&gt;
&lt;P&gt;libname import "&amp;amp;path";&lt;BR /&gt;data temp _data;&lt;BR /&gt;set import.permanent _clean_SAS_data;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There is nothing wrong with accessing the data.&lt;/P&gt;
&lt;P&gt;Set&lt;/P&gt;
&lt;P&gt;OPTIONS NOFMTERR;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You apparently have the option set for FMTERR, which treats a missing format as an error.&lt;/P&gt;
&lt;P&gt;OR make sure the format is available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you attempting to redefine the library?!?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once a library is assigned in a current session just use that library name is the typical approach.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 17:23:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-an-efficient-way-to-save-and-access-the-clean-data-set/m-p/723213#M224384</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-03-03T17:23:15Z</dc:date>
    </item>
  </channel>
</rss>

