<?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: Observations does not show in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262435#M7204</link>
    <description>&lt;P&gt;SAS 9.4 version, I'm not sure about SAS client.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2016 13:59:39 GMT</pubDate>
    <dc:creator>mayasak</dc:creator>
    <dc:date>2016-04-08T13:59:39Z</dc:date>
    <item>
      <title>Observations does not show</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262097#M7185</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to combine two datasets, two&amp;nbsp;from the&amp;nbsp;prelimenary network drive (P)&amp;nbsp;and one&amp;nbsp;from the final network drive (Q, the backend server drive).&lt;/P&gt;&lt;P&gt;I prepared and cleaned the 2 datasets from P and merged them with the Q data set (which was not touched) then I saved the merged set in the P&amp;nbsp;drive. What happened is that all the datasets related to the merged&amp;nbsp;data&amp;nbsp;set do not show up (I mean the data observations, only variables show up) when I opened them in SAS. But when I tried to read them in SAS, all proc contents, proq freqs work, also all the queries still work perfectly on the related website. This means the data is still there but it doesn't show up. Yesterday, I had the same problem and I'm not sure what I did and it showed the obseravations&amp;nbsp;back. Today when I was still manipulating the data and saved&amp;nbsp;&amp;nbsp;the merged data set I had the same problem again. I have no clue on what's happening, I concatenated two other datasets before and didn't have any problem, could it be the merging the datasets and if that is the case, how should I solve it.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 15:21:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262097#M7185</guid>
      <dc:creator>mayasak</dc:creator>
      <dc:date>2016-04-07T15:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Observations does not show</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262115#M7189</link>
      <description>It's hard to say without seeing your code. My best guess is you are not viewing what you think you are viewing (perhaps a local data set rather than a permanent one?). I suggest using Proc Datasets to delete any local data once you are done with it, and see if that clears up the problem.</description>
      <pubDate>Thu, 07 Apr 2016 15:59:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262115#M7189</guid>
      <dc:creator>EastwoodDC</dc:creator>
      <dc:date>2016-04-07T15:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Observations does not show</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262129#M7191</link>
      <description>&lt;P&gt;Thank you &amp;nbsp;for your reply, here's the code I used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname final "Q:\sasData\final";&lt;BR /&gt;options nocenter nonumber nodate linesize=125 pagesize=4000 formchar=" " ;&lt;/P&gt;&lt;P&gt;data brfss1;&lt;BR /&gt;set final.brfss04_14_cdc;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;libname prelim "P:\BRFSS\data\ORIG\CDC";&lt;BR /&gt;data brfss2;&lt;BR /&gt;set prelim.nm13finl prelim.nm14finl;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data brfss3;&lt;BR /&gt;set brfss2 (rename=(iyear = YEAR decide = _DiffDecide));&lt;BR /&gt;run;&lt;BR /&gt;data brfss4;&lt;BR /&gt;set brfss3 (keep = _DiffDecide RRCLASS2 RRATWRK2 RRCOGNT2 RREMTSM2 RRHCARE3 RRPHYSM2 YEAR SEQNO);&lt;BR /&gt;year1 = input(year,4.0);&lt;BR /&gt;drop year;&lt;BR /&gt;rename year1 = YEAR;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data brfss5;&lt;BR /&gt;set brfss4;&lt;/P&gt;&lt;P&gt;_RRCLASS = .;&lt;BR /&gt;if RRCLASS2 = 6 then _RRCLASS = 1;&lt;BR /&gt;else if RRCLASS2 = 4 OR RRCLASS2 = 5 then _RRCLASS = 2;&lt;BR /&gt;else if RRCLASS2 = 2 then _RRCLASS = 3;&lt;BR /&gt;else if RRCLASS2 = 3 then _RRCLASS = 4;&lt;BR /&gt;else if RRCLASS2 = 1 then _RRCLASS = 5;&lt;BR /&gt;LABEL _RRCLASS = "People Classify you: 1=American Indian/Alaska Native, 2=Asian/Pacific Islander, 3=Black/African American, 4=Hispanic, 5=White";&lt;/P&gt;&lt;P&gt;_RRCOGNT = .;&lt;BR /&gt;if RRCOGNT2 = 6 then _RRCOGNT = 1;&lt;BR /&gt;else if RRCOGNT2 = 5 then _RRCOGNT = 2;&lt;BR /&gt;else if RRCOGNT2 = 4 then _RRCOGNT = 3;&lt;BR /&gt;else if RRCOGNT2 = 3 then _RRCOGNT = 4;&lt;BR /&gt;else if RRCOGNT2 = 2 then _RRCOGNT = 5;&lt;BR /&gt;else if RRCOGNT2 = 1 then _RRCOGNT = 6;&lt;BR /&gt;LABEL _RRCOGNT = "Thinking About Race: 1=Once an Hour, 2=Once a Day, 3=Once a Week, 4=Once a Month, 5= Once a Year, 6= Never";&lt;/P&gt;&lt;P&gt;_RRATWRK = .;&lt;BR /&gt;if RRATWRK2 = 1 then _RRATWRK = 4;&lt;BR /&gt;else if RRATWRK2 = 2 then _RRATWRK = 2;&lt;BR /&gt;else if RRATWRK2 = 3 then _RRATWRK = 1;&lt;BR /&gt;else if RRATWRK2 = 4 then _RRATWRK = 3;&lt;BR /&gt;else if RRATWRK2 = 5 then _RRATWRK = 5;&lt;BR /&gt;LABEL _RRATWRK = "Feel Treated at Work Due to Race: 1=Better Than Other Races, 2=Same as Other Races, 3=Worse Than Some Races, Better Than Others, 4=Worse Than Other Races, 5=Only Encountered People of The Same Race";&lt;/P&gt;&lt;P&gt;_RRHCARE = .;&lt;BR /&gt;if RRHCARE3 = 1 then _RRHCARE = 4;&lt;BR /&gt;else if RRHCARE3 = 2 then _RRHCARE = 2;&lt;BR /&gt;else if RRHCARE3 = 3 then _RRHCARE = 1;&lt;BR /&gt;else if RRHCARE3 = 4 then _RRHCARE = 3;&lt;BR /&gt;else if RRHCARE3 = 5 then _RRHCARE = 5;&lt;BR /&gt;else if RRHCARE3 = 6 then _RRHCARE = 6;&lt;BR /&gt;LABEL _RRHCARE = "Experience at Health Care: 1=Better Than Other Races, 2=Same as Other Races, 3=Worse Than Some Races, Better Than Others, 4=Worse Than Other Races, 5=Only Encountered People of The Same Race, 6=No Health Care in Past 12 Months";&lt;/P&gt;&lt;P&gt;_RRPHYSM = .;&lt;BR /&gt;if RRPHYSM2 = 1 then _RRPHYSM = 2;&lt;BR /&gt;else if RRPHYSM2 = 2 then _RRPHYSM = 1;&lt;BR /&gt;LABEL _RRPHYSM = "Felt Physical Symptoms Due to Race: 1=no, 2=yes";&lt;/P&gt;&lt;P&gt;_RREMTSM = .;&lt;BR /&gt;if RREMTSM2 = 1 then _RREMTSM = 2;&lt;BR /&gt;else if RREMTSM2 = 2 then _RREMTSM = 1;&lt;BR /&gt;LABEL _RREMTSM = "Felt Emotionally Upset Due to Race: 1=no, 2=yes";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data brfss6 (keep = _DiffDecide _RRCLASS _RRATWRK _RRCOGNT _RREMTSM _RRHCARE _RRPHYSM YEAR SEQNO);&lt;BR /&gt;set brfss5 (drop = RRCLASS2 RRATWRK2 RRCOGNT2 RREMTSM2 RRHCARE3 RRPHYSM2);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data prelim.brfss;&lt;BR /&gt;merge brfss1 brfss5;&lt;BR /&gt;by seqno;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've already deleted the merge dataset file that was saved from&amp;nbsp;the P drive&amp;nbsp;and not by using&amp;nbsp;SAS code. Yesterday like I said I had the same problem but it suddenly worked (don't have any clue how) and today I had the problem again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(FYI by not seeing the data, I mean when I double click on it from the P or Q drive; the proc print works just fine)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12436iDB58FC589A09C36A/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;</description>
      <pubDate>Thu, 07 Apr 2016 16:35:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262129#M7191</guid>
      <dc:creator>mayasak</dc:creator>
      <dc:date>2016-04-07T16:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Observations does not show</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262130#M7192</link>
      <description>So the data sets are there but seems to have no observations? &lt;BR /&gt;What does proc contents tell you? &lt;BR /&gt;What SAS client are you using?</description>
      <pubDate>Thu, 07 Apr 2016 16:53:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262130#M7192</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-04-07T16:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Observations does not show</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262141#M7195</link>
      <description>&lt;P&gt;I don't see anything in the code that would cause what you describe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the last data step though:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;merge brfss1 brfss&lt;FONT color="#FF0000"&gt;5&lt;/FONT&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is&amp;nbsp;brfss5 what you mean to merge, or should it be &lt;STRONG&gt;brfss&lt;FONT color="#FF0000"&gt;6&lt;/FONT&gt;&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;This might cause unexpected results if same-name variables in brfss1 are overwritten.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 17:08:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262141#M7195</guid>
      <dc:creator>EastwoodDC</dc:creator>
      <dc:date>2016-04-07T17:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Observations does not show</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262146#M7196</link>
      <description>&lt;P&gt;Thank you LinusH. Yes the data sets are there and every thing seems fine but the tmp data ( when I just click on the data file from the P and Q driver) shows only the variable row and no observations. Proc contents, proc print, and proc freq all are working fine. Attached is the proc content.&lt;/P&gt;&lt;P&gt;And as I said yesterday I had the same problem but it worked at some point (I was deleting all dat sets that I&amp;nbsp;saved recently&amp;nbsp;on driver P when data showed again on both drives P and Q; I have no clue how and why)&amp;nbsp;. Today I had the same problem again after I was manipulating, merging and saving the merged dataset&amp;nbsp;on P.&amp;nbsp; I deleted the new file but still have no data there.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12437i3EBE3BCFD9C13BC4/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;</description>
      <pubDate>Thu, 07 Apr 2016 17:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262146#M7196</guid>
      <dc:creator>mayasak</dc:creator>
      <dc:date>2016-04-07T17:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Observations does not show</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262154#M7198</link>
      <description>&lt;P&gt;The variable names are different though.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 17:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262154#M7198</guid>
      <dc:creator>mayasak</dc:creator>
      <dc:date>2016-04-07T17:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Observations does not show</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262296#M7202</link>
      <description>What SAS client / user interface are you using,  and version?</description>
      <pubDate>Fri, 08 Apr 2016 05:33:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262296#M7202</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-04-08T05:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Observations does not show</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262435#M7204</link>
      <description>&lt;P&gt;SAS 9.4 version, I'm not sure about SAS client.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 13:59:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Observations-does-not-show/m-p/262435#M7204</guid>
      <dc:creator>mayasak</dc:creator>
      <dc:date>2016-04-08T13:59:39Z</dc:date>
    </item>
  </channel>
</rss>

