<?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: Using Startobs= and Endobs= options together in a Proc step in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Using-Startobs-and-Endobs-options-together-in-a-Proc-step/m-p/65716#M18742</link>
    <description>Hi:&lt;BR /&gt;
  If you look in the documentation, you will find that the options are:&lt;BR /&gt;
OBS: &lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000131154.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000131154.htm&lt;/A&gt;&lt;BR /&gt;
and &lt;BR /&gt;
FIRSTOBS: &lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000131129.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000131129.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
For example, in the code below, the first observation displayed on the PROC PRINT report will be observation 5 and the last observation displayed on the report will be observation 8.&lt;BR /&gt;
    &lt;BR /&gt;
cynthia&lt;BR /&gt;
               &lt;BR /&gt;
[pre]&lt;BR /&gt;
proc print data=sashelp.class(firstobs=5 obs=8);&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]</description>
    <pubDate>Fri, 20 Aug 2010 07:20:20 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-08-20T07:20:20Z</dc:date>
    <item>
      <title>Using Startobs= and Endobs= options together in a Proc step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-Startobs-and-Endobs-options-together-in-a-Proc-step/m-p/65715#M18741</link>
      <description>I am unable to use Startobs= and Endobs= options together in a Proc Print data step. Does anyone know how to use these together?&lt;BR /&gt;
&lt;BR /&gt;
The syntax I am uisng is as follows but it doesn't work:&lt;BR /&gt;
&lt;BR /&gt;
PROC PRINT DATA=COMB (STARTOBS=7 ENDOBS=12) ;&lt;BR /&gt;
VAR DIST_Q SSPOS_C1 REL_C2 TotSNEG;&lt;BR /&gt;
RUN;</description>
      <pubDate>Fri, 20 Aug 2010 07:08:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-Startobs-and-Endobs-options-together-in-a-Proc-step/m-p/65715#M18741</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-08-20T07:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using Startobs= and Endobs= options together in a Proc step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-Startobs-and-Endobs-options-together-in-a-Proc-step/m-p/65716#M18742</link>
      <description>Hi:&lt;BR /&gt;
  If you look in the documentation, you will find that the options are:&lt;BR /&gt;
OBS: &lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000131154.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000131154.htm&lt;/A&gt;&lt;BR /&gt;
and &lt;BR /&gt;
FIRSTOBS: &lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000131129.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000131129.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
For example, in the code below, the first observation displayed on the PROC PRINT report will be observation 5 and the last observation displayed on the report will be observation 8.&lt;BR /&gt;
    &lt;BR /&gt;
cynthia&lt;BR /&gt;
               &lt;BR /&gt;
[pre]&lt;BR /&gt;
proc print data=sashelp.class(firstobs=5 obs=8);&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Fri, 20 Aug 2010 07:20:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-Startobs-and-Endobs-options-together-in-a-Proc-step/m-p/65716#M18742</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-08-20T07:20:20Z</dc:date>
    </item>
  </channel>
</rss>

