<?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 scan data if particular observation not found abort in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/scan-data-if-particular-observation-not-found-abort/m-p/16394#M3007</link>
    <description>Hi All&lt;BR /&gt;
&lt;BR /&gt;
I have a dataset which has below information if "xyz" is not there in that dataset it should abort the process and should not go further&lt;BR /&gt;
&lt;BR /&gt;
abc&lt;BR /&gt;
abc&lt;BR /&gt;
abc&lt;BR /&gt;
abc&lt;BR /&gt;
abc&lt;BR /&gt;
dfg&lt;BR /&gt;
dfg&lt;BR /&gt;
dfg&lt;BR /&gt;
dfg&lt;BR /&gt;
dfg&lt;BR /&gt;
dfg&lt;BR /&gt;
xyz&lt;BR /&gt;
xyz&lt;BR /&gt;
xyz&lt;BR /&gt;
xyz&lt;BR /&gt;
cbf&lt;BR /&gt;
cbf&lt;BR /&gt;
cbf&lt;BR /&gt;
cbf&lt;BR /&gt;
cbf&lt;BR /&gt;
cbf&lt;BR /&gt;
&lt;BR /&gt;
Thanks &lt;BR /&gt;
cbf</description>
    <pubDate>Wed, 05 May 2010 16:13:51 GMT</pubDate>
    <dc:creator>help09</dc:creator>
    <dc:date>2010-05-05T16:13:51Z</dc:date>
    <item>
      <title>scan data if particular observation not found abort</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/scan-data-if-particular-observation-not-found-abort/m-p/16394#M3007</link>
      <description>Hi All&lt;BR /&gt;
&lt;BR /&gt;
I have a dataset which has below information if "xyz" is not there in that dataset it should abort the process and should not go further&lt;BR /&gt;
&lt;BR /&gt;
abc&lt;BR /&gt;
abc&lt;BR /&gt;
abc&lt;BR /&gt;
abc&lt;BR /&gt;
abc&lt;BR /&gt;
dfg&lt;BR /&gt;
dfg&lt;BR /&gt;
dfg&lt;BR /&gt;
dfg&lt;BR /&gt;
dfg&lt;BR /&gt;
dfg&lt;BR /&gt;
xyz&lt;BR /&gt;
xyz&lt;BR /&gt;
xyz&lt;BR /&gt;
xyz&lt;BR /&gt;
cbf&lt;BR /&gt;
cbf&lt;BR /&gt;
cbf&lt;BR /&gt;
cbf&lt;BR /&gt;
cbf&lt;BR /&gt;
cbf&lt;BR /&gt;
&lt;BR /&gt;
Thanks &lt;BR /&gt;
cbf</description>
      <pubDate>Wed, 05 May 2010 16:13:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/scan-data-if-particular-observation-not-found-abort/m-p/16394#M3007</guid>
      <dc:creator>help09</dc:creator>
      <dc:date>2010-05-05T16:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: scan data if particular observation not found abort</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/scan-data-if-particular-observation-not-found-abort/m-p/16395#M3008</link>
      <description>Hi:&lt;BR /&gt;
  What is your "process" that needs to be aborted?? Reading the data? Displaying the data? Running a regression? Producing counts of the various codes? What program or procedure code composes your process? Is this variable the ONLY variable in the data set?&lt;BR /&gt;
 &lt;BR /&gt;
  A bit more information from you is needed in order to provide meaningful suggestions.&lt;BR /&gt;
 &lt;BR /&gt;
  In order to post data and/or program code to the forums, refer to this forum posting that describes how to post code and maintain code indenting levels.&lt;BR /&gt;
 &lt;A href="http://support.sas.com/forums/thread.jspa?messageID=27609毙" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=27609毙&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 05 May 2010 16:37:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/scan-data-if-particular-observation-not-found-abort/m-p/16395#M3008</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-05-05T16:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: scan data if particular observation not found abort</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/scan-data-if-particular-observation-not-found-abort/m-p/16396#M3009</link>
      <description>Thanks For your reply&lt;BR /&gt;
&lt;BR /&gt;
My Question is&lt;BR /&gt;
&lt;BR /&gt;
- when a dataset contains above records i need to write a datastep in such a way that if 'xyz' is not there in that dataset then it should throw an error saying that 'xyz is not found' abort return .</description>
      <pubDate>Wed, 05 May 2010 18:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/scan-data-if-particular-observation-not-found-abort/m-p/16396#M3009</guid>
      <dc:creator>help09</dc:creator>
      <dc:date>2010-05-05T18:17:59Z</dc:date>
    </item>
  </channel>
</rss>

