<?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: Import problem after merging the STATA file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-problem-after-merging-the-STATA-file/m-p/377624#M90694</link>
    <description>&lt;P&gt;Hi Astounding,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sorry for late response. After doing 'proc content', i find the following variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;241&lt;/P&gt;&lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;region&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;REGION.&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;region&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the original dataset, the following is categories of 'region'.&lt;/P&gt;&lt;TABLE border="0" cellspacing="1" cellpadding="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;The SAS System&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="c proctitle"&gt;The FREQ Procedure&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;region Frequency Percent Cumulative&lt;BR /&gt;Frequency Cumulative&lt;BR /&gt;Percent midwest northeast south west &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;4214&lt;/TD&gt;&lt;TD&gt;18.61&lt;/TD&gt;&lt;TD&gt;4214&lt;/TD&gt;&lt;TD&gt;18.61&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5474&lt;/TD&gt;&lt;TD&gt;24.17&lt;/TD&gt;&lt;TD&gt;9688&lt;/TD&gt;&lt;TD&gt;42.78&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6515&lt;/TD&gt;&lt;TD&gt;28.77&lt;/TD&gt;&lt;TD&gt;16203&lt;/TD&gt;&lt;TD&gt;71.55&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6444&lt;/TD&gt;&lt;TD&gt;28.45&lt;/TD&gt;&lt;TD&gt;22647&lt;/TD&gt;&lt;TD&gt;100.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I still don't know how to fix this import problem. Could you please advise it more easily?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2017 23:44:17 GMT</pubDate>
    <dc:creator>joon1</dc:creator>
    <dc:date>2017-07-19T23:44:17Z</dc:date>
    <item>
      <title>Import problem after merging the STATA file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-problem-after-merging-the-STATA-file/m-p/375754#M90125</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the merged dataset between SAS file and STATA file. When I try to import this merged dataset, I face the following error message. It will be grateful if you suggest how to resolve this issue. Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3 Libname temp1 'C:\Users\hakjoon\Documents\social capital and internal control quality\Data';&lt;/P&gt;&lt;P&gt;NOTE: Libref TEMP1 was successfully assigned as follows:&lt;/P&gt;&lt;P&gt;Engine: V9&lt;/P&gt;&lt;P&gt;Physical Name: C:\Users\hakjoon\Documents\social capital and internal control quality\Data&lt;/P&gt;&lt;P&gt;4 data k44; set temp1.finaldata; run;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;ERROR: The format REGION was not found or could not be loaded.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;WARNING: The data set WORK.K44 may be incomplete. When this step was stopped there were 0&lt;/P&gt;&lt;P&gt;observations and 278 variables.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;real time 0.32 seconds&lt;/P&gt;&lt;P&gt;cpu time 0.09 seconds&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 16:41:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-problem-after-merging-the-STATA-file/m-p/375754#M90125</guid>
      <dc:creator>joon1</dc:creator>
      <dc:date>2017-07-13T16:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Import problem after merging the STATA file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-problem-after-merging-the-STATA-file/m-p/375773#M90135</link>
      <description>&lt;P&gt;&amp;nbsp;As a temporary workaround, you can work with this data by using this line of code first:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options nofmterr;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you run a PROC CONTENTS on this data set, you will see that at least one variable as a format connected to it.&amp;nbsp; And the name of the format is REGION.&amp;nbsp; In theory, that format would take the actual variable values and allow them to be displayed in a "translated" format that is easier for the reader to identify.&amp;nbsp; For example, it might create this effect:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of printing 1, print "Northeast".&lt;/P&gt;
&lt;P&gt;Instead of printing 2, print "South".&lt;/P&gt;
&lt;P&gt;Instead of printing 3, print "West Coast".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can easily find the variable(s) from the PROC CONTENTS output, and find their actual values by examining the data.&amp;nbsp; It might be harder to track down what the translations are supposed to be.&amp;nbsp; So far,&amp;nbsp; you are missing that piece.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 17:49:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-problem-after-merging-the-STATA-file/m-p/375773#M90135</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-07-13T17:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Import problem after merging the STATA file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-problem-after-merging-the-STATA-file/m-p/377624#M90694</link>
      <description>&lt;P&gt;Hi Astounding,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sorry for late response. After doing 'proc content', i find the following variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;241&lt;/P&gt;&lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;region&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;REGION.&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;region&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the original dataset, the following is categories of 'region'.&lt;/P&gt;&lt;TABLE border="0" cellspacing="1" cellpadding="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;The SAS System&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="c proctitle"&gt;The FREQ Procedure&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;region Frequency Percent Cumulative&lt;BR /&gt;Frequency Cumulative&lt;BR /&gt;Percent midwest northeast south west &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;4214&lt;/TD&gt;&lt;TD&gt;18.61&lt;/TD&gt;&lt;TD&gt;4214&lt;/TD&gt;&lt;TD&gt;18.61&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5474&lt;/TD&gt;&lt;TD&gt;24.17&lt;/TD&gt;&lt;TD&gt;9688&lt;/TD&gt;&lt;TD&gt;42.78&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6515&lt;/TD&gt;&lt;TD&gt;28.77&lt;/TD&gt;&lt;TD&gt;16203&lt;/TD&gt;&lt;TD&gt;71.55&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6444&lt;/TD&gt;&lt;TD&gt;28.45&lt;/TD&gt;&lt;TD&gt;22647&lt;/TD&gt;&lt;TD&gt;100.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I still don't know how to fix this import problem. Could you please advise it more easily?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 23:44:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-problem-after-merging-the-STATA-file/m-p/377624#M90694</guid>
      <dc:creator>joon1</dc:creator>
      <dc:date>2017-07-19T23:44:17Z</dc:date>
    </item>
  </channel>
</rss>

