<?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: How do I get CaseID for DHS dataset to not show strange characters? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-CaseID-for-DHS-dataset-to-not-show-strange/m-p/918650#M361861</link>
    <description>&lt;P&gt;You also have&amp;nbsp; CASE problem with naming your set. SAS On Demand runs in a UNIX environment and you really want to use lower case for library and dataset names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try using capstone.dhs in your print. (define the library with lower case capstone).&lt;/P&gt;
&lt;P&gt;If there is a problem copy the text from the log with the CODE and any messages. On the forum open a text box using the &amp;lt;/&amp;gt; icon above the message window and paste the text.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2024 20:23:03 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2024-03-01T20:23:03Z</dc:date>
    <item>
      <title>How do I get CaseID for DHS dataset to not show strange characters?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-CaseID-for-DHS-dataset-to-not-show-strange/m-p/918634#M361851</link>
      <description>&lt;P&gt;I'm trying to get the fist variable to show. According to the code book it should all be numbers but indicating it's a character seems to be the only way to get this to show (if I leave out the $ then it just shows a . for a missing value). Can anyone tell me what I'm doing wrong? I'm using SAS On Demand for Academics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached my code and the output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just a few notes about my code: I used Var1 as my variable name but I plan to change that to CaseID and I do plan on doing more variables I'm just trying to get it together little by little.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS Code 2.jpeg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94310i89064E72B58E1BB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS Code 2.jpeg" alt="SAS Code 2.jpeg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS Output 1.jpeg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94309i01F01677B275A3AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS Output 1.jpeg" alt="SAS Output 1.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 18:28:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-CaseID-for-DHS-dataset-to-not-show-strange/m-p/918634#M361851</guid>
      <dc:creator>rmg1995</dc:creator>
      <dc:date>2024-03-01T18:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get CaseID for DHS dataset to not show strange characters?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-CaseID-for-DHS-dataset-to-not-show-strange/m-p/918637#M361853</link>
      <description>&lt;P&gt;If a file is a SAS7BDAT then it is already a SAS data set an should not be "input".&lt;/P&gt;
&lt;P&gt;You would use it by using the Libname.dataset syntax.&lt;/P&gt;
&lt;P&gt;Such as&lt;/P&gt;
&lt;PRE&gt;Proc Print data=work.dhs;
run;&lt;/PRE&gt;
&lt;P&gt;Or maybe sasuser.dhs, I don't use SAS On Demand so the pictures don't mean much to me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Infile and Input are used to read TEXT files into SAS data sets. These would typically have extensions like TXT, CSV, TAB, sometimes DAT but the extension you have is a SAS data set.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 18:44:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-CaseID-for-DHS-dataset-to-not-show-strange/m-p/918637#M361853</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-03-01T18:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get CaseID for DHS dataset to not show strange characters?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-CaseID-for-DHS-dataset-to-not-show-strange/m-p/918639#M361855</link>
      <description>&lt;P&gt;When I do it without the 'infile' statement it won't work properly and without the 'input' statement it is throwing an error saying it doesn't have any columns. It also tells me that work.dhs doesn't exist.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 19:07:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-CaseID-for-DHS-dataset-to-not-show-strange/m-p/918639#M361855</guid>
      <dc:creator>rmg1995</dc:creator>
      <dc:date>2024-03-01T19:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get CaseID for DHS dataset to not show strange characters?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-CaseID-for-DHS-dataset-to-not-show-strange/m-p/918650#M361861</link>
      <description>&lt;P&gt;You also have&amp;nbsp; CASE problem with naming your set. SAS On Demand runs in a UNIX environment and you really want to use lower case for library and dataset names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try using capstone.dhs in your print. (define the library with lower case capstone).&lt;/P&gt;
&lt;P&gt;If there is a problem copy the text from the log with the CODE and any messages. On the forum open a text box using the &amp;lt;/&amp;gt; icon above the message window and paste the text.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 20:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-CaseID-for-DHS-dataset-to-not-show-strange/m-p/918650#M361861</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-03-01T20:23:03Z</dc:date>
    </item>
  </channel>
</rss>

