<?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: First and Last Variables in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/First-and-Last-Variables/m-p/402156#M3624</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data    WORK.Analysis;
    set WORK.AEs;
    by  SubjID;
	put _all_;
    run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 08 Oct 2017 06:23:07 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2017-10-08T06:23:07Z</dc:date>
    <item>
      <title>First and Last Variables</title>
      <link>https://communities.sas.com/t5/SAS-Studio/First-and-Last-Variables/m-p/402101#M3622</link>
      <description>&lt;P&gt;Using this code, I have understood that automatic variables FIRST.SubjID and LAST.SubjID are supposed to appear in the PDV.&amp;nbsp;I am supposed to fill out the variables for FIRST.SubjID and LAST.SubjID, but am confused as to how to actually display these variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; WORK.AEs;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; infile&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; input&amp;nbsp; &amp;nbsp;SubjID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AEDesc&amp;nbsp; $;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;109 Nausea&lt;/P&gt;&lt;P&gt;109 Dyspnea&lt;/P&gt;&lt;P&gt;109 Headache&lt;/P&gt;&lt;P&gt;122 Dyspnea&lt;/P&gt;&lt;P&gt;146 Rash&lt;/P&gt;&lt;P&gt;146 Flushing&lt;/P&gt;&lt;P&gt;;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; WORK.Analysis;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; set&amp;nbsp;WORK.AEs;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; by&amp;nbsp; SubjID;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2017 17:31:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/First-and-Last-Variables/m-p/402101#M3622</guid>
      <dc:creator>marianhabesland</dc:creator>
      <dc:date>2017-10-07T17:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: First and Last Variables</title>
      <link>https://communities.sas.com/t5/SAS-Studio/First-and-Last-Variables/m-p/402103#M3623</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;Using this code, I have understood that automatic variables FIRST.SubjID and LAST.SubjID are supposed to appear in the PDV.&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;FONT color="#FF0000"&gt;I am supposed to fill out the variables for FIRST.SubjID and LAST.SubjID????&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;,&lt;/P&gt;&lt;P&gt;Do you want to assign the values of first and last to another variable?&lt;/P&gt;&lt;P&gt;but am confused as to how to actually display these variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; WORK.AEs;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; infile&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; input&amp;nbsp; &amp;nbsp;SubjID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AEDesc&amp;nbsp; $;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;109 Nausea&lt;/P&gt;&lt;P&gt;109 Dyspnea&lt;/P&gt;&lt;P&gt;109 Headache&lt;/P&gt;&lt;P&gt;122 Dyspnea&lt;/P&gt;&lt;P&gt;146 Rash&lt;/P&gt;&lt;P&gt;146 Flushing&lt;/P&gt;&lt;P&gt;;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; WORK.Analysis;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; set&amp;nbsp;WORK.AEs;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; by&amp;nbsp; SubjID;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;&lt;EM&gt;first=first.subjid;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;&lt;EM&gt;last=last.subjid;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2017 17:38:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/First-and-Last-Variables/m-p/402103#M3623</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2017-10-07T17:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: First and Last Variables</title>
      <link>https://communities.sas.com/t5/SAS-Studio/First-and-Last-Variables/m-p/402156#M3624</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data    WORK.Analysis;
    set WORK.AEs;
    by  SubjID;
	put _all_;
    run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 08 Oct 2017 06:23:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/First-and-Last-Variables/m-p/402156#M3624</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-10-08T06:23:07Z</dc:date>
    </item>
  </channel>
</rss>

