<?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 Copying data in one cell to an empty cell while in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Copying-data-in-one-cell-to-an-empty-cell-while/m-p/56566#M15796</link>
    <description>I have a SAS dataset that contains multiple records for many persons.  Persons are identified by SSN.  The data must be de-identified so I created a var named  PerID and populated it with a random digit number using FIRST.SSN.  Now I want to copy the value of PerID for each of the first SSNs to the remainder each SSN.  Note that the number of records for each person may range from 1 to 20.</description>
    <pubDate>Wed, 28 Jul 2010 14:47:57 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-07-28T14:47:57Z</dc:date>
    <item>
      <title>Copying data in one cell to an empty cell while</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Copying-data-in-one-cell-to-an-empty-cell-while/m-p/56566#M15796</link>
      <description>I have a SAS dataset that contains multiple records for many persons.  Persons are identified by SSN.  The data must be de-identified so I created a var named  PerID and populated it with a random digit number using FIRST.SSN.  Now I want to copy the value of PerID for each of the first SSNs to the remainder each SSN.  Note that the number of records for each person may range from 1 to 20.</description>
      <pubDate>Wed, 28 Jul 2010 14:47:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Copying-data-in-one-cell-to-an-empty-cell-while/m-p/56566#M15796</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-07-28T14:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Copying data in one cell to an empty cell while</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Copying-data-in-one-cell-to-an-empty-cell-while/m-p/56567#M15797</link>
      <description>Hi:&lt;BR /&gt;
  It sounds like you've already discovered BY group processing and FIRST.byvar. If you check into the workings of the RETAIN statement, you will find your answer.&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000214163.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000214163.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 28 Jul 2010 14:59:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Copying-data-in-one-cell-to-an-empty-cell-while/m-p/56567#M15797</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-07-28T14:59:47Z</dc:date>
    </item>
  </channel>
</rss>

