<?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: pick data without the foward data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/pick-data-without-the-foward-data/m-p/65941#M18815</link>
    <description>Thanks for Art's help&lt;BR /&gt;
&lt;BR /&gt;
however, could i ask an advanced question?&lt;BR /&gt;
&lt;BR /&gt;
the data1 is changed  and i want to the result like data3&lt;BR /&gt;
&lt;BR /&gt;
for instance, the optionid which is 20752179 change to 23752179&lt;BR /&gt;
&lt;BR /&gt;
because its starting date is the first, i want the 23752179 group is the first.&lt;BR /&gt;
&lt;BR /&gt;
data data1;&lt;BR /&gt;
input date: yymmdd10.	optionid	exdate:yymmdd10.	strike_price;&lt;BR /&gt;
format date yymmdd10. exdate:yymmdd10. ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
2004/1/2	23752179	2004/6/19	995&lt;BR /&gt;
2004/1/5	21266383	2004/2/21	1010&lt;BR /&gt;
2004/1/7	21273951	2004/1/17	1015&lt;BR /&gt;
&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data data2;&lt;BR /&gt;
input date: yymmdd10. SPXClose optionid	exdate:yymmdd10.	best_bid bes_offer;&lt;BR /&gt;
format date yymmdd10. exdate:yymmdd10. ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
2004/1/2	1108.48	23752179	2004/6/19	15.5	17.1&lt;BR /&gt;
2004/1/2	1108.48	21266383	2004/2/21	0	4.5&lt;BR /&gt;
2004/1/2	1108.48	21273951	2004/1/17	0	1&lt;BR /&gt;
2004/1/5	1122.22	23752179	2004/6/19	13.4	15&lt;BR /&gt;
2004/1/5	1122.22	21266383	2004/2/21	5	3.1&lt;BR /&gt;
2004/1/5	1122.22	21273951	2004/1/17	1250	0.4&lt;BR /&gt;
2004/1/6	1123.67	23752179	2004/6/19	11.4	13&lt;BR /&gt;
2004/1/6	1123.67	21266383	2004/2/21	5	2.6&lt;BR /&gt;
2004/1/6	1123.67	21273951	2004/1/17	1380	0.1&lt;BR /&gt;
2004/1/7	1126.33	23752179	2004/6/19	10.3	11.9&lt;BR /&gt;
2004/1/7	1126.33	21266383	2004/2/21	9	2&lt;BR /&gt;
2004/1/7	1126.33	21273951	2004/1/17	1391	0.25&lt;BR /&gt;
2004/1/8	1131.92	21266383	2004/2/21	19	2&lt;BR /&gt;
2004/1/8	1131.92	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
2004/1/9	1121.86	21266383	2004/2/21	21	2.7&lt;BR /&gt;
2004/1/9	1121.86	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
2004/1/12	1127.23	21266383	2004/2/21	21	2.05&lt;BR /&gt;
2004/1/12	1127.23	21273951	2004/1/17	1480	0.1&lt;BR /&gt;
&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data data3;&lt;BR /&gt;
input date: yymmdd10. SPXClose optionid	exdate:yymmdd10.	best_bid bes_offer;&lt;BR /&gt;
format date yymmdd10. exdate:yymmdd10. ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
2004/1/2	1108.48	23752179	2004/6/19	15.5	17.1&lt;BR /&gt;
2004/1/5	1122.22	23752179	2004/6/19	13.4	15&lt;BR /&gt;
2004/1/6	1123.67	23752179	2004/6/19	11.4	13&lt;BR /&gt;
2004/1/7	1126.33	23752179	2004/6/19	10.3	11.9&lt;BR /&gt;
2004/1/5	1122.22	21266383	2004/2/21	5	3.1&lt;BR /&gt;
2004/1/6	1123.67	21266383	2004/2/21	5	2.6&lt;BR /&gt;
2004/1/7	1126.33	21266383	2004/2/21	9	2&lt;BR /&gt;
2004/1/8	1131.92	21266383	2004/2/21	19	2&lt;BR /&gt;
2004/1/9	1121.86	21266383	2004/2/21	21	2.7&lt;BR /&gt;
2004/1/12	1127.23	21266383	2004/2/21	21	2.05&lt;BR /&gt;
2004/1/7	1126.33	21273951	2004/1/17	1391	0.25&lt;BR /&gt;
2004/1/8	1131.92	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
2004/1/9	1121.86	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
2004/1/12	1127.23	21273951	2004/1/17	1480	0.1&lt;BR /&gt;
;&lt;BR /&gt;
run;

Message was edited by: bqk</description>
    <pubDate>Sun, 15 May 2011 22:51:04 GMT</pubDate>
    <dc:creator>bqk</dc:creator>
    <dc:date>2011-05-15T22:51:04Z</dc:date>
    <item>
      <title>pick data without the foward data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/pick-data-without-the-foward-data/m-p/65939#M18813</link>
      <description>i have 2 data set as following, i want to make it combained like data3.&lt;BR /&gt;
&lt;BR /&gt;
ex i want to pick the data optionid is 21266383. &lt;BR /&gt;
    however, i don not want to get the data on 2004/1/2 &lt;BR /&gt;
    i just want the data between 2004/1 /5~2004/1/12&lt;BR /&gt;
&lt;BR /&gt;
please help me thanks~&lt;BR /&gt;
&lt;BR /&gt;
data data1;&lt;BR /&gt;
input date: yymmdd10.	optionid	exdate:yymmdd10.	strike_price;&lt;BR /&gt;
format date yymmdd10. exdate:yymmdd10. ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
2004/1/2	20752179	2004/6/19	995&lt;BR /&gt;
2004/1/5	21266383	2004/2/21	1010&lt;BR /&gt;
2004/1/7	21273951	2004/1/17	1015&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data data2;&lt;BR /&gt;
input date: yymmdd10. SPXClose optionid	exdate:yymmdd10.	best_bid bes_offer;&lt;BR /&gt;
format date yymmdd10. exdate:yymmdd10. ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
2004/1/2	1108.48	20752179	2004/6/19	15.5	17.1&lt;BR /&gt;
2004/1/2	1108.48	21266383	2004/2/21	0	4.5&lt;BR /&gt;
2004/1/2	1108.48	21273951	2004/1/17	0	1&lt;BR /&gt;
2004/1/5	1122.22	20752179	2004/6/19	13.4	15&lt;BR /&gt;
2004/1/5	1122.22	21266383	2004/2/21	5	3.1&lt;BR /&gt;
2004/1/5	1122.22	21273951	2004/1/17	1250	0.4&lt;BR /&gt;
2004/1/6	1123.67	20752179	2004/6/19	11.4	13&lt;BR /&gt;
2004/1/6	1123.67	21266383	2004/2/21	5	2.6&lt;BR /&gt;
2004/1/6	1123.67	21273951	2004/1/17	1380	0.1&lt;BR /&gt;
2004/1/7	1126.33	20752179	2004/6/19	10.3	11.9&lt;BR /&gt;
2004/1/7	1126.33	21266383	2004/2/21	9	2&lt;BR /&gt;
2004/1/7	1126.33	21273951	2004/1/17	1391	0.25&lt;BR /&gt;
2004/1/8	1131.92	21266383	2004/2/21	19	2&lt;BR /&gt;
2004/1/8	1131.92	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
2004/1/9	1121.86	21266383	2004/2/21	21	2.7&lt;BR /&gt;
2004/1/9	1121.86	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
2004/1/12	1127.23	21266383	2004/2/21	21	2.05&lt;BR /&gt;
2004/1/12	1127.23	21273951	2004/1/17	1480	0.1&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data data3;&lt;BR /&gt;
input date: yymmdd10. SPXClose optionid	exdate:yymmdd10.	best_bid bes_offer;&lt;BR /&gt;
format date yymmdd10. exdate:yymmdd10. ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
2004/1/2	1108.48	20752179	2004/6/19	15.5	17.1&lt;BR /&gt;
2004/1/5	1122.22	20752179	2004/6/19	13.4	15&lt;BR /&gt;
2004/1/6	1123.67	20752179	2004/6/19	11.4	13&lt;BR /&gt;
2004/1/7	1126.33	20752179	2004/6/19	10.3	11.9&lt;BR /&gt;
2004/1/5	1122.22	21266383	2004/2/21	5	3.1&lt;BR /&gt;
2004/1/6	1123.67	21266383	2004/2/21	5	2.6&lt;BR /&gt;
2004/1/7	1126.33	21266383	2004/2/21	9	2&lt;BR /&gt;
2004/1/8	1131.92	21266383	2004/2/21	19	2&lt;BR /&gt;
2004/1/9	1121.86	21266383	2004/2/21	21	2.7&lt;BR /&gt;
2004/1/12	1127.23	21266383	2004/2/21	21	2.05&lt;BR /&gt;
2004/1/7	1126.33	21273951	2004/1/17	1391	0.25&lt;BR /&gt;
2004/1/8	1131.92	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
2004/1/9	1121.86	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
2004/1/12	1127.23	21273951	2004/1/17	1480	0.1&lt;BR /&gt;
;&lt;BR /&gt;
run;</description>
      <pubDate>Sun, 15 May 2011 11:51:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/pick-data-without-the-foward-data/m-p/65939#M18813</guid>
      <dc:creator>bqk</dc:creator>
      <dc:date>2011-05-15T11:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: pick data without the foward data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/pick-data-without-the-foward-data/m-p/65940#M18814</link>
      <description>Does the following do what you want?&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc sql noprint;&lt;BR /&gt;
  create table data3 as&lt;BR /&gt;
    select b.*&lt;BR /&gt;
      from data1 as a, data2 as b&lt;BR /&gt;
        where a.optionid eq b.optionid and&lt;BR /&gt;
          b.date between a.date and a.exdate&lt;BR /&gt;
		    order by b.optionid,b.date&lt;BR /&gt;
  ;&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Art&lt;BR /&gt;
--------&lt;BR /&gt;
&amp;gt; i have 2 data set as following, i want to make it&lt;BR /&gt;
&amp;gt; combained like data3.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; ex i want to pick the data optionid is 21266383. &lt;BR /&gt;
&amp;gt; however, i don not want to get the data on&lt;BR /&gt;
&amp;gt;  2004/1/2 &lt;BR /&gt;
&amp;gt;    i just want the data between 2004/1 /5~2004/1/12&lt;BR /&gt;
&amp;gt; lease help me thanks~&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; data data1;&lt;BR /&gt;
&amp;gt; input date:&lt;BR /&gt;
&amp;gt; yymmdd10.	optionid	exdate:yymmdd10.	strike_price;&lt;BR /&gt;
&amp;gt; format date yymmdd10. exdate:yymmdd10. ;&lt;BR /&gt;
&amp;gt; datalines;&lt;BR /&gt;
&amp;gt; 2004/1/2	20752179	2004/6/19	995&lt;BR /&gt;
&amp;gt; 2004/1/5	21266383	2004/2/21	1010&lt;BR /&gt;
&amp;gt; 2004/1/7	21273951	2004/1/17	1015&lt;BR /&gt;
&amp;gt; ;&lt;BR /&gt;
&amp;gt; run;&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; data data2;&lt;BR /&gt;
&amp;gt; input date: yymmdd10. SPXClose&lt;BR /&gt;
&amp;gt; optionid	exdate:yymmdd10.	best_bid bes_offer;&lt;BR /&gt;
&amp;gt; format date yymmdd10. exdate:yymmdd10. ;&lt;BR /&gt;
&amp;gt; datalines;&lt;BR /&gt;
&amp;gt; 2004/1/2	1108.48	20752179	2004/6/19	15.5	17.1&lt;BR /&gt;
&amp;gt; 2004/1/2	1108.48	21266383	2004/2/21	0	4.5&lt;BR /&gt;
&amp;gt; 2004/1/2	1108.48	21273951	2004/1/17	0	1&lt;BR /&gt;
&amp;gt; 2004/1/5	1122.22	20752179	2004/6/19	13.4	15&lt;BR /&gt;
&amp;gt; 2004/1/5	1122.22	21266383	2004/2/21	5	3.1&lt;BR /&gt;
&amp;gt; 2004/1/5	1122.22	21273951	2004/1/17	1250	0.4&lt;BR /&gt;
&amp;gt; 2004/1/6	1123.67	20752179	2004/6/19	11.4	13&lt;BR /&gt;
&amp;gt; 2004/1/6	1123.67	21266383	2004/2/21	5	2.6&lt;BR /&gt;
&amp;gt; 2004/1/6	1123.67	21273951	2004/1/17	1380	0.1&lt;BR /&gt;
&amp;gt; 2004/1/7	1126.33	20752179	2004/6/19	10.3	11.9&lt;BR /&gt;
&amp;gt; 2004/1/7	1126.33	21266383	2004/2/21	9	2&lt;BR /&gt;
&amp;gt; 2004/1/7	1126.33	21273951	2004/1/17	1391	0.25&lt;BR /&gt;
&amp;gt; 2004/1/8	1131.92	21266383	2004/2/21	19	2&lt;BR /&gt;
&amp;gt; 2004/1/8	1131.92	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
&amp;gt; 2004/1/9	1121.86	21266383	2004/2/21	21	2.7&lt;BR /&gt;
&amp;gt; 2004/1/9	1121.86	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
&amp;gt; 2004/1/12	1127.23	21266383	2004/2/21	21	2.05&lt;BR /&gt;
&amp;gt; 2004/1/12	1127.23	21273951	2004/1/17	1480	0.1&lt;BR /&gt;
&amp;gt; ;&lt;BR /&gt;
&amp;gt; run;&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; data data3;&lt;BR /&gt;
&amp;gt; input date: yymmdd10. SPXClose&lt;BR /&gt;
&amp;gt; optionid	exdate:yymmdd10.	best_bid bes_offer;&lt;BR /&gt;
&amp;gt; format date yymmdd10. exdate:yymmdd10. ;&lt;BR /&gt;
&amp;gt; datalines;&lt;BR /&gt;
&amp;gt; 2004/1/2	1108.48	20752179	2004/6/19	15.5	17.1&lt;BR /&gt;
&amp;gt; 2004/1/5	1122.22	20752179	2004/6/19	13.4	15&lt;BR /&gt;
&amp;gt; 2004/1/6	1123.67	20752179	2004/6/19	11.4	13&lt;BR /&gt;
&amp;gt; 2004/1/7	1126.33	20752179	2004/6/19	10.3	11.9&lt;BR /&gt;
&amp;gt; 2004/1/5	1122.22	21266383	2004/2/21	5	3.1&lt;BR /&gt;
&amp;gt; 2004/1/6	1123.67	21266383	2004/2/21	5	2.6&lt;BR /&gt;
&amp;gt; 2004/1/7	1126.33	21266383	2004/2/21	9	2&lt;BR /&gt;
&amp;gt; 2004/1/8	1131.92	21266383	2004/2/21	19	2&lt;BR /&gt;
&amp;gt; 2004/1/9	1121.86	21266383	2004/2/21	21	2.7&lt;BR /&gt;
&amp;gt; 2004/1/12	1127.23	21266383	2004/2/21	21	2.05&lt;BR /&gt;
&amp;gt; 2004/1/7	1126.33	21273951	2004/1/17	1391	0.25&lt;BR /&gt;
&amp;gt; 2004/1/8	1131.92	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
&amp;gt; 2004/1/9	1121.86	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
&amp;gt; 2004/1/12	1127.23	21273951	2004/1/17	1480	0.1&lt;BR /&gt;
&amp;gt; ;&lt;BR /&gt;
&amp;gt; run;</description>
      <pubDate>Sun, 15 May 2011 14:17:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/pick-data-without-the-foward-data/m-p/65940#M18814</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-05-15T14:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: pick data without the foward data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/pick-data-without-the-foward-data/m-p/65941#M18815</link>
      <description>Thanks for Art's help&lt;BR /&gt;
&lt;BR /&gt;
however, could i ask an advanced question?&lt;BR /&gt;
&lt;BR /&gt;
the data1 is changed  and i want to the result like data3&lt;BR /&gt;
&lt;BR /&gt;
for instance, the optionid which is 20752179 change to 23752179&lt;BR /&gt;
&lt;BR /&gt;
because its starting date is the first, i want the 23752179 group is the first.&lt;BR /&gt;
&lt;BR /&gt;
data data1;&lt;BR /&gt;
input date: yymmdd10.	optionid	exdate:yymmdd10.	strike_price;&lt;BR /&gt;
format date yymmdd10. exdate:yymmdd10. ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
2004/1/2	23752179	2004/6/19	995&lt;BR /&gt;
2004/1/5	21266383	2004/2/21	1010&lt;BR /&gt;
2004/1/7	21273951	2004/1/17	1015&lt;BR /&gt;
&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data data2;&lt;BR /&gt;
input date: yymmdd10. SPXClose optionid	exdate:yymmdd10.	best_bid bes_offer;&lt;BR /&gt;
format date yymmdd10. exdate:yymmdd10. ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
2004/1/2	1108.48	23752179	2004/6/19	15.5	17.1&lt;BR /&gt;
2004/1/2	1108.48	21266383	2004/2/21	0	4.5&lt;BR /&gt;
2004/1/2	1108.48	21273951	2004/1/17	0	1&lt;BR /&gt;
2004/1/5	1122.22	23752179	2004/6/19	13.4	15&lt;BR /&gt;
2004/1/5	1122.22	21266383	2004/2/21	5	3.1&lt;BR /&gt;
2004/1/5	1122.22	21273951	2004/1/17	1250	0.4&lt;BR /&gt;
2004/1/6	1123.67	23752179	2004/6/19	11.4	13&lt;BR /&gt;
2004/1/6	1123.67	21266383	2004/2/21	5	2.6&lt;BR /&gt;
2004/1/6	1123.67	21273951	2004/1/17	1380	0.1&lt;BR /&gt;
2004/1/7	1126.33	23752179	2004/6/19	10.3	11.9&lt;BR /&gt;
2004/1/7	1126.33	21266383	2004/2/21	9	2&lt;BR /&gt;
2004/1/7	1126.33	21273951	2004/1/17	1391	0.25&lt;BR /&gt;
2004/1/8	1131.92	21266383	2004/2/21	19	2&lt;BR /&gt;
2004/1/8	1131.92	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
2004/1/9	1121.86	21266383	2004/2/21	21	2.7&lt;BR /&gt;
2004/1/9	1121.86	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
2004/1/12	1127.23	21266383	2004/2/21	21	2.05&lt;BR /&gt;
2004/1/12	1127.23	21273951	2004/1/17	1480	0.1&lt;BR /&gt;
&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data data3;&lt;BR /&gt;
input date: yymmdd10. SPXClose optionid	exdate:yymmdd10.	best_bid bes_offer;&lt;BR /&gt;
format date yymmdd10. exdate:yymmdd10. ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
2004/1/2	1108.48	23752179	2004/6/19	15.5	17.1&lt;BR /&gt;
2004/1/5	1122.22	23752179	2004/6/19	13.4	15&lt;BR /&gt;
2004/1/6	1123.67	23752179	2004/6/19	11.4	13&lt;BR /&gt;
2004/1/7	1126.33	23752179	2004/6/19	10.3	11.9&lt;BR /&gt;
2004/1/5	1122.22	21266383	2004/2/21	5	3.1&lt;BR /&gt;
2004/1/6	1123.67	21266383	2004/2/21	5	2.6&lt;BR /&gt;
2004/1/7	1126.33	21266383	2004/2/21	9	2&lt;BR /&gt;
2004/1/8	1131.92	21266383	2004/2/21	19	2&lt;BR /&gt;
2004/1/9	1121.86	21266383	2004/2/21	21	2.7&lt;BR /&gt;
2004/1/12	1127.23	21266383	2004/2/21	21	2.05&lt;BR /&gt;
2004/1/7	1126.33	21273951	2004/1/17	1391	0.25&lt;BR /&gt;
2004/1/8	1131.92	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
2004/1/9	1121.86	21273951	2004/1/17	1391	0.05&lt;BR /&gt;
2004/1/12	1127.23	21273951	2004/1/17	1480	0.1&lt;BR /&gt;
;&lt;BR /&gt;
run;

Message was edited by: bqk</description>
      <pubDate>Sun, 15 May 2011 22:51:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/pick-data-without-the-foward-data/m-p/65941#M18815</guid>
      <dc:creator>bqk</dc:creator>
      <dc:date>2011-05-15T22:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: pick data without the foward data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/pick-data-without-the-foward-data/m-p/65942#M18816</link>
      <description>I think you are only asking how to do:&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc sql noprint;&lt;BR /&gt;
  create table data3 as&lt;BR /&gt;
    select b.*,min(b.date) as startdate&lt;BR /&gt;
      from data1 as a, data2 as b&lt;BR /&gt;
        where a.optionid eq b.optionid and&lt;BR /&gt;
          b.date between a.date and a.exdate&lt;BR /&gt;
	    group by b.optionid&lt;BR /&gt;
	       order by calculated startdate,b.date&lt;BR /&gt;
  ;&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Art</description>
      <pubDate>Sun, 15 May 2011 23:55:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/pick-data-without-the-foward-data/m-p/65942#M18816</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-05-15T23:55:43Z</dc:date>
    </item>
  </channel>
</rss>

