<?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: Flag a column where single record exists in a group in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Flag-a-column-where-single-record-exists-in-a-group/m-p/35612#M5127</link>
    <description>Hi,&lt;BR /&gt;
It is not clear what kind of output you want?? A report?? A dataset?? What kind of data is this?&lt;BR /&gt;
&lt;BR /&gt;
You say the dataset has the following variables or columns:&lt;BR /&gt;
CODE AMOUNT SINGLE_RECORD_FLAG&lt;BR /&gt;
&lt;BR /&gt;
Then you say you want to set the value of  SINGLE_RECORD_FLAG -- what is the current value of that variable? How did it get into the dataset in the first place?? If all you want to do is create or change a variable value that sounds like a job for FIRST.byvar, or LAST.byvar processing or if you want a report for PROC FREQ or PROC MEANS.&lt;BR /&gt;
&lt;BR /&gt;
What have you tried??&lt;BR /&gt;
&lt;BR /&gt;
Cynthia</description>
    <pubDate>Thu, 18 Nov 2010 13:01:29 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-11-18T13:01:29Z</dc:date>
    <item>
      <title>Flag a column where single record exists in a group</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Flag-a-column-where-single-record-exists-in-a-group/m-p/35611#M5126</link>
      <description>I have a dataset with columns code amount single_record_flag&lt;BR /&gt;
&lt;BR /&gt;
There can be multiple amounts for the same code.&lt;BR /&gt;
&lt;BR /&gt;
I want to set the value of single_record_flag column to 1 where only one record exists in a group&lt;BR /&gt;
&lt;BR /&gt;
Please help</description>
      <pubDate>Thu, 18 Nov 2010 11:19:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Flag-a-column-where-single-record-exists-in-a-group/m-p/35611#M5126</guid>
      <dc:creator>SanjayM</dc:creator>
      <dc:date>2010-11-18T11:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flag a column where single record exists in a group</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Flag-a-column-where-single-record-exists-in-a-group/m-p/35612#M5127</link>
      <description>Hi,&lt;BR /&gt;
It is not clear what kind of output you want?? A report?? A dataset?? What kind of data is this?&lt;BR /&gt;
&lt;BR /&gt;
You say the dataset has the following variables or columns:&lt;BR /&gt;
CODE AMOUNT SINGLE_RECORD_FLAG&lt;BR /&gt;
&lt;BR /&gt;
Then you say you want to set the value of  SINGLE_RECORD_FLAG -- what is the current value of that variable? How did it get into the dataset in the first place?? If all you want to do is create or change a variable value that sounds like a job for FIRST.byvar, or LAST.byvar processing or if you want a report for PROC FREQ or PROC MEANS.&lt;BR /&gt;
&lt;BR /&gt;
What have you tried??&lt;BR /&gt;
&lt;BR /&gt;
Cynthia</description>
      <pubDate>Thu, 18 Nov 2010 13:01:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Flag-a-column-where-single-record-exists-in-a-group/m-p/35612#M5127</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-11-18T13:01:29Z</dc:date>
    </item>
  </channel>
</rss>

