<?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: Issue with variable &amp;quot;values&amp;quot;  being used instead of raw numbers when importing CSV in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/713167#M219967</link>
    <description>Your log then has a lot of notes or errors that you need to resolve. Post the first set of errors/notes and then work your way through them.</description>
    <pubDate>Thu, 21 Jan 2021 18:30:35 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-01-21T18:30:35Z</dc:date>
    <item>
      <title>Issue with variable "values"  being used instead of raw numbers when importing CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/712942#M219867</link>
      <description>&lt;P&gt;Hello all, I have imported a CSV file into SAS using a "read in" file that specifies variable names formats and values. I have imported this file in the past without issues. Today I imported an updated version of this csv file (exported from RedCap) using the same "read in " file. This time SAS is assigning the "values" to variables instead of the raw numbers. For example a dichotomous variable that is supposed to have either 0 or 1 raw value is actually assigned its "values" (I.e. "No" or "Yes") instead of its raw numbers (0,1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yesterday (and previous times), this was not the case.&amp;nbsp; Yesterday I imported an older version of this CSV file (CSV-file A) without issue, manipulated a few things is SAS and tried to export this SAS file into a new CSV file (CSV-file B). I had issues with this export with the data values which I posted about earlier. Today I imported an updated version of the CSV-A file&amp;nbsp; (CSV-file C) which is when the data value issue suddenly came up in SAS. Does anybody know what might be going on.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 00:18:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/712942#M219867</guid>
      <dc:creator>FourLeafCLover</dc:creator>
      <dc:date>2021-01-21T00:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with variable "values"  being used instead of raw numbers when importing CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/712944#M219868</link>
      <description>What you're describing isn't possible with a 'read in' file, if by that you mean a DATA STEP that imports your data with fixed names and formats. &lt;BR /&gt;When you run a PROC CONTENTS on the data set is the underlying data still there with a format applied or is the data itself just Yes/No?&lt;BR /&gt;If it's the latter, I suspect your data feed is problematic. &lt;BR /&gt;&lt;BR /&gt;I'm assuming you've confirmed the data in the file itself has not changed?&lt;BR /&gt;&lt;BR /&gt;If you're new to SAS is there any chance with all this fiddling that you've overwritten files? Can you confirm that the original source files have not been modified in any manner?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jan 2021 00:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/712944#M219868</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-01-21T00:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with variable "values"  being used instead of raw numbers when importing CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/712946#M219869</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/364912"&gt;@FourLeafCLover&lt;/a&gt;&amp;nbsp; - This appears to be the same problem you posted earlier. If you needed to clarify your original problem then you should have added to that post and not started a new one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post the SAS log of your problem, including any DATA step code generated by PROC IMPORT. We can't easily help you if you don't provide evidence.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 00:41:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/712946#M219869</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-01-21T00:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with variable "values"  being used instead of raw numbers when importing CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/712957#M219870</link>
      <description>&lt;P&gt;Show the coded used to read the data.&lt;/P&gt;
&lt;P&gt;Better, copy from the log the data step used to read the csv along with all notes and messages, paste into a text box opened on the forum with the &amp;lt;/&amp;gt; icon.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 01:55:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/712957#M219870</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-21T01:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with variable "values"  being used instead of raw numbers when importing CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/712967#M219879</link>
      <description>&lt;P&gt;From your description here are some things to check.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Make sure that you are reading the correct file. It sounds like you are reading back in the file you wrote from SAS instead of the original file generated from Redcap.&lt;/LI&gt;
&lt;LI&gt;Make sure that you are exporting the file from Radcap in the same way. Perhaps you selected a different option that cased the file to be create with the decoded values instead of the raw codes.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 03:48:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/712967#M219879</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-01-21T03:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with variable "values"  being used instead of raw numbers when importing CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/713159#M219964</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&amp;gt;&lt;BR /&gt;P {margin-top:0;margin-bottom:0;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;BR /&gt;Thanks ballardw, unfortunately there are 40,000 lines in the log file. Cheers&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jan 2021 18:20:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/713159#M219964</guid>
      <dc:creator>FourLeafCLover</dc:creator>
      <dc:date>2021-01-21T18:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with variable "values"  being used instead of raw numbers when importing CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/713164#M219965</link>
      <description>&lt;P&gt;It takes 40,000 lines for just the data step that is reading the text file?&lt;/P&gt;
&lt;P&gt;How many variables does this dataset have?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 18:27:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/713164#M219965</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-01-21T18:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with variable "values"  being used instead of raw numbers when importing CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/713167#M219967</link>
      <description>Your log then has a lot of notes or errors that you need to resolve. Post the first set of errors/notes and then work your way through them.</description>
      <pubDate>Thu, 21 Jan 2021 18:30:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-variable-quot-values-quot-being-used-instead-of-raw/m-p/713167#M219967</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-01-21T18:30:35Z</dc:date>
    </item>
  </channel>
</rss>

