<?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: Double trailing behaviour in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44027#M11590</link>
    <description>Thank you, Scott.&lt;BR /&gt;
&lt;BR /&gt;
So the true statement should be:&lt;BR /&gt;
&lt;BR /&gt;
SAS releases the record that is held by a double trailing @ &lt;BR /&gt;
&lt;BR /&gt;
immediately if a null INPUT statement executes (input) ;&lt;B&gt; OR AN INPUT  WITHOUT ENDING WITH SINGLE OR DOUBLE TRAILING SIGN &lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
Is this correct?&lt;BR /&gt;
&lt;BR /&gt;
Marius</description>
    <pubDate>Fri, 03 Dec 2010 10:03:50 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-12-03T10:03:50Z</dc:date>
    <item>
      <title>Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44025#M11588</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
Can you please clarify when input with double trailing sign is released from the buffer (I'm using SAS 9.2)?&lt;BR /&gt;
&lt;BR /&gt;
In SAS Help it says:&lt;BR /&gt;
&lt;BR /&gt;
SAS releases the record that is held by a double trailing @ &lt;BR /&gt;
&lt;BR /&gt;
immediately if the pointer moves past the end of the input record&lt;BR /&gt;
&lt;BR /&gt;
immediately if a null INPUT statement executes (input);&lt;BR /&gt;
&lt;BR /&gt;
when the next iteration of the DATA step begins if an INPUT statement with a single trailing @ executes later in the DATA step: (input @);&lt;BR /&gt;
&lt;BR /&gt;
BUT it seems to me that the record is also released from the buffer when an input&lt;BR /&gt;
(different than null input and without a single trailing) executes later in DATA step.&lt;BR /&gt;
&lt;BR /&gt;
consider this example, where I expected to have more than 2 observations in the data set, but it's not the case (the data set has only 2 observations):&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
infile datalines  _infile_=try;&lt;BR /&gt;
retain try;&lt;BR /&gt;
put "BEFORE " try;&lt;BR /&gt;
input a b c @@ ;&lt;BR /&gt;
put "BETWEEN " try;&lt;BR /&gt;
input d  e ;&lt;BR /&gt;
put "AFTER " try;&lt;BR /&gt;
datalines;&lt;BR /&gt;
1 2 3 4 5 6 7 8 567 308 12&lt;BR /&gt;
12 890   456   0987 8765 5&lt;BR /&gt;
;&lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Marius</description>
      <pubDate>Fri, 03 Dec 2010 08:51:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44025#M11588</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-03T08:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44026#M11589</link>
      <description>That is true because you are executing the second INPUT which is coded differently, with no trailing "@@" specification.  Also, if you expect multiple observations, then you must perform explicit OUTPUT statements executions in your code, as revealed in your post.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 03 Dec 2010 09:05:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44026#M11589</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-12-03T09:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44027#M11590</link>
      <description>Thank you, Scott.&lt;BR /&gt;
&lt;BR /&gt;
So the true statement should be:&lt;BR /&gt;
&lt;BR /&gt;
SAS releases the record that is held by a double trailing @ &lt;BR /&gt;
&lt;BR /&gt;
immediately if a null INPUT statement executes (input) ;&lt;B&gt; OR AN INPUT  WITHOUT ENDING WITH SINGLE OR DOUBLE TRAILING SIGN &lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
Is this correct?&lt;BR /&gt;
&lt;BR /&gt;
Marius</description>
      <pubDate>Fri, 03 Dec 2010 10:03:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44027#M11590</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-03T10:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44028#M11591</link>
      <description>You must treat each statement individually, as documented.  So yes, unless you specify another INPUT statement with some specified syntax, the "@@" will hold it with the next DATA step pass.  And so if you code another INPUT statement (one or more actually) then the behavior will follow based on the later statement(s) defined -- which means that you could code another statement with another double or single or no trailing "@" to achieve some specific behavior, as desired.&lt;BR /&gt;
&lt;BR /&gt;
Refer to the SAS Language DOC for each of the different types of coding techniques available.&lt;BR /&gt;
&lt;BR /&gt;
And, also don't forget about the explicit OUTPUT statement as compared to coding none.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 03 Dec 2010 12:48:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44028#M11591</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-12-03T12:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44029#M11592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any possibility of reading x value 9 and y value missing here.&lt;/P&gt;&lt;P&gt;with missover option: compatability issues&lt;/P&gt;&lt;P&gt;with truncover option ; inifinite loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with shorter records in input, we are able use missover and getting the results. I need the same kind of option in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;program&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;data pairs;&lt;/P&gt;&lt;P&gt;infile datalines truncover;&lt;/P&gt;&lt;P&gt;input X Y @@ ;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;1 2 5 7 9&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 07:34:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44029#M11592</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2014-08-25T07:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44030#M11593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Double trailing @@ and MISSOVER are incomparable INFILE statement options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want this to work as I think you do you can add a . for the missing value or use EOF option to resolve the LOSTCARD.&lt;/P&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; pairs;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;infile&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;datalines&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;eof&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=eof;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; X Y @@ ;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; eof: &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;output&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;datalines&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffc0;"&gt;1 2 5 7 9&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;;;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 12:55:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44030#M11593</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-08-25T12:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44031#M11594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot . very very helpful answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 15:17:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44031#M11594</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2014-08-25T15:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44032#M11595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you pls help me in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="60626" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 15:31:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44032#M11595</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2014-08-25T15:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44033#M11596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John @&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-status-levels"&gt;&lt;IMG alt="Master" class="jiveImage" src="https://communities.sas.com/5.0.2/images/status/statusicon-51.gif" title="Master" /&gt; &lt;/SPAN&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="1901" data-externalid="" data-presence="null" data-userid="468858" data-username="data_null_%3B" href="https://communities.sas.com/people/data_null_;" id="jive-46885847926089572769186"&gt;data_null_;&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you please explain why this is failing and the fix when the data has many records. I understand EOF will fail the first time and flow over default behaviour takes effect.&lt;/P&gt;&lt;P&gt; /* Not properly executing*/&lt;/P&gt;&lt;P&gt;data pairs;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; infile datalines eof=eof;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; input X Y @@ ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; eof: output; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; datalines; &lt;/P&gt;&lt;P&gt;1 2 5 7 9&lt;/P&gt;&lt;P&gt;2 3 4 5 6&lt;/P&gt;&lt;P&gt;;;;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I have begin to read and understand(try) each and every post of yours in communities here, but i am unable to do an easy seach to all your posts on SAS -L.&amp;nbsp; I'd appreciate if you could share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Charlotte&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 09:35:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44033#M11596</guid>
      <dc:creator>CharlotteCain</dc:creator>
      <dc:date>2015-05-25T09:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44034#M11597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on what is "correct".&amp;nbsp; What do you expect the result should be.&amp;nbsp; The program pairs 9 from line 1 and 2 from line 2.&amp;nbsp; and "incorrectly" outputs missing for both X and Y when everything is Paried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps this is more correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="font-family: Courier New; font-size: 10pt;"&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; pairs;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;infile&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;datalines&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;eof&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=eof;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; X Y @@;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;output&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;return&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; eof:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;not&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; missing(x) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;output&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;datalines&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffc0;"&gt;1 2 5 7 9&lt;BR /&gt;2 3 4 5 6&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;;;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On SAS-L I've used two different gmail ids datanull and iebupdte.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 11:41:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44034#M11597</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2015-05-25T11:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44035#M11598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thank you again. This expected result is to take the missing value without having to jump to the next line and read 2 pairing with 9 to complete a full pair in each observation. Desired results:&lt;/P&gt;&lt;P&gt;1&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;5&amp;nbsp; 7&lt;/P&gt;&lt;P&gt;9&amp;nbsp; .&lt;/P&gt;&lt;P&gt;2 3&lt;/P&gt;&lt;P&gt;4&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;6 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on please.&lt;/P&gt;&lt;P&gt;the latest program results of yours is:&lt;/P&gt;&lt;P&gt;1&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;5&amp;nbsp; 7&lt;/P&gt;&lt;P&gt;9&amp;nbsp; 2 /* to be corrected&lt;/P&gt;&lt;P&gt;3&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;5&amp;nbsp; 6&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 12:59:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44035#M11598</guid>
      <dc:creator>CharlotteCain</dc:creator>
      <dc:date>2015-05-25T12:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44036#M11599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charlotte,&lt;/P&gt;&lt;P&gt;Long time no see . What is up to you now ?&lt;/P&gt;&lt;P&gt;@@ can't do that . You need a special technique :&amp;nbsp; truncover + do while() .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;data pairs;
&amp;nbsp;&amp;nbsp; infile datalines truncover;
&amp;nbsp;&amp;nbsp; input X Y @;
&amp;nbsp;&amp;nbsp; do while (X ne . or Y ne .)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;;
&amp;nbsp;&amp;nbsp;&amp;nbsp; output;
&amp;nbsp;&amp;nbsp;&amp;nbsp; input X Y @;
&amp;nbsp;&amp;nbsp; end;
&amp;nbsp;&amp;nbsp; datalines; 
1 2 5 7 9
2 3 4 5 6
;;;;
&amp;nbsp;&amp;nbsp; run;
 

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 13:21:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44036#M11599</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-05-25T13:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44037#M11600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xia, Thank you so much for the courtesy and that's very kind of you. I took some time off as it has begun to get sunny and warmer, so went for a nice sunny holiday in Southern Europe. Well, got burnt though &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; I only got back to work this week. Thanks as always and ever for all your help. I will never ever forget each one and will always value them, I promise!. I have just started learning SAS seriously and of course I would reach out to you here or offline directly every-time I run into some emergency needing your help when it matters at work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the solution Xia. I remember you telling me you were starting to get busy. Well, in that case I will only bother you for help during the weekends or late evenings at your convenience &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;.&lt;/P&gt;&lt;P&gt;I hope you are doing well and all's well in Beijing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peace,&lt;/P&gt;&lt;P&gt;Charlotte&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 14:13:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44037#M11600</guid>
      <dc:creator>CharlotteCain</dc:creator>
      <dc:date>2015-05-25T14:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Double trailing behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44038#M11601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Charlotte. I admired you have holiday . I have nothing but busy things to do .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 12:03:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Double-trailing-behaviour/m-p/44038#M11601</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-05-26T12:03:10Z</dc:date>
    </item>
  </channel>
</rss>

