<?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: complete series in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/complete-series/m-p/414484#M101553</link>
    <description>&lt;P&gt;This would be a nice homework assignment.&amp;nbsp;&amp;nbsp; What have you tried so far?&amp;nbsp; If you've tried nothing, then let us now how you would logically perform the task.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Nov 2017 17:52:30 GMT</pubDate>
    <dc:creator>mkeintz</dc:creator>
    <dc:date>2017-11-17T17:52:30Z</dc:date>
    <item>
      <title>complete series</title>
      <link>https://communities.sas.com/t5/SAS-Programming/complete-series/m-p/414474#M101552</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to complete each series present in the table test1 by a value tmp&lt;/P&gt;&lt;P&gt;when absent relative to the var1 of the test table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
input var1;
cards;
1
2
3
;run;

data test1;
input var1;
cards;
1
2
3
2
3
1
2
;run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;desired results&lt;/P&gt;&lt;P&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;tmp&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;tmp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 17:06:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/complete-series/m-p/414474#M101552</guid>
      <dc:creator>mansour_ibrahim</dc:creator>
      <dc:date>2017-11-17T17:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: complete series</title>
      <link>https://communities.sas.com/t5/SAS-Programming/complete-series/m-p/414484#M101553</link>
      <description>&lt;P&gt;This would be a nice homework assignment.&amp;nbsp;&amp;nbsp; What have you tried so far?&amp;nbsp; If you've tried nothing, then let us now how you would logically perform the task.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 17:52:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/complete-series/m-p/414484#M101553</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2017-11-17T17:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: complete series</title>
      <link>https://communities.sas.com/t5/SAS-Programming/complete-series/m-p/414486#M101554</link>
      <description>&lt;P&gt;In your example the variable Var1 is numeric. As such it can never hold the value "tmp" which is character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, what would the result be if your data looked like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test1;
input var1;
cards;
4
5
7
1
2
3
2
3
1
2
;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data test1;
input var1;
cards;
4
5
7
1
2
3
2
3
1
2
5
1
2
3
3
3
;run;&lt;/PRE&gt;
&lt;P&gt;You will have to expand a bit on your definition of what a "series" is and "absent relative".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 17:56:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/complete-series/m-p/414486#M101554</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-11-17T17:56:43Z</dc:date>
    </item>
  </channel>
</rss>

