<?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: Large data set in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726166#M28101</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/373810"&gt;@superman1&lt;/a&gt;&amp;nbsp; - If you've found an answer you just mark your post as answered by you then others won't spend any more time on it.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 00:03:28 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2021-03-15T00:03:28Z</dc:date>
    <item>
      <title>Large data set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726088#M28091</link>
      <description>&lt;P&gt;d&lt;/P&gt;</description>
      <pubDate>Sun, 14 Mar 2021 09:54:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726088#M28091</guid>
      <dc:creator>superman1</dc:creator>
      <dc:date>2021-03-14T09:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Recoding Data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726090#M28092</link>
      <description>&lt;P&gt;Don't clutter up your data step code with data.&lt;/P&gt;
&lt;P&gt;I would create a format that catches all incoming values and translates them to correct ones. Create the format from a dataset in CNTLIN format:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data myformat;
infile datalines dlm=',' dsd truncover end=done;
input (start label) (:$20.);
fmtname = "continent_corr";
type = "C";
output;
if done then do;
  start = "Other";
  label = "************";
  hlo = "O";
  output;
end;
datalines;
North America,North America
South America,South America
Europe,Europe
europe,Europe
New York,North America
;

proc format cntlin=myformat;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then apply this to your data:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data survey_check;
set survey (keep=continent);
length con_check $20;
con_check = put(continent,continent_corr.);
if con_check = "************";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This dataset will contain all values your format didn't catch yet, so you can include them in the DATALINES.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS since the OP was rude and disrespectful enough to delete the question, here a rough outline:&lt;/P&gt;
&lt;P&gt;A large dataset is received with a variable CONTINENT that should only have "North America", "South America" or "Europe" entered. But, as it goes, lots of other entries are encountered, like "europe" (simple spelling mistake) or "New York" (interesting geography). The method posted above is intended to provide a lasting and easily maintainable remedy.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Mar 2021 12:13:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726090#M28092</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-03-14T12:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Large data set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726105#M28093</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/373810"&gt;@superman1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;d&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Rude to delete the question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Afraid someone else in your class will get the right answer?&lt;/P&gt;</description>
      <pubDate>Sun, 14 Mar 2021 11:39:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726105#M28093</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-03-14T11:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Large data set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726157#M28095</link>
      <description>no I figured it out a different way an didnt want others to spend time to try and figure it out.</description>
      <pubDate>Sun, 14 Mar 2021 22:31:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726157#M28095</guid>
      <dc:creator>superman1</dc:creator>
      <dc:date>2021-03-14T22:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Large data set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726166#M28101</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/373810"&gt;@superman1&lt;/a&gt;&amp;nbsp; - If you've found an answer you just mark your post as answered by you then others won't spend any more time on it.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 00:03:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726166#M28101</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-03-15T00:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Large data set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726180#M28110</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/373810"&gt;@superman1&lt;/a&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;comments, just post your own solution and mark the problem as solved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next time, be&amp;nbsp;@super and satisfy others' curiosity.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 03:21:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Large-data-set/m-p/726180#M28110</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2021-03-15T03:21:42Z</dc:date>
    </item>
  </channel>
</rss>

