<?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 Check at each level in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Check-at-each-level/m-p/28413#M5225</link>
    <description>Hi,&lt;BR /&gt;
   As part of process, I have to check if a physicians name is correctly given in the raw data with a lookup table that has correct physician's names and also on drugnames if they are spelled correctly.&lt;BR /&gt;
 If there is a physician whose name is not correctly spelled I will output a error dataset.&lt;BR /&gt;
The check i want to do is, if the error dataset is created ,stop the process there, so that I can fix the physician's name and  update the lookup table if a new physician comes for the current data and resume the process.</description>
    <pubDate>Wed, 06 May 2009 19:25:04 GMT</pubDate>
    <dc:creator>SASPhile</dc:creator>
    <dc:date>2009-05-06T19:25:04Z</dc:date>
    <item>
      <title>Check at each level</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Check-at-each-level/m-p/28413#M5225</link>
      <description>Hi,&lt;BR /&gt;
   As part of process, I have to check if a physicians name is correctly given in the raw data with a lookup table that has correct physician's names and also on drugnames if they are spelled correctly.&lt;BR /&gt;
 If there is a physician whose name is not correctly spelled I will output a error dataset.&lt;BR /&gt;
The check i want to do is, if the error dataset is created ,stop the process there, so that I can fix the physician's name and  update the lookup table if a new physician comes for the current data and resume the process.</description>
      <pubDate>Wed, 06 May 2009 19:25:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Check-at-each-level/m-p/28413#M5225</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2009-05-06T19:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Check at each level</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Check-at-each-level/m-p/28414#M5226</link>
      <description>It will be easier to unconditionally create the error data set, and halt execution if the data set contains observations.&lt;BR /&gt;
&lt;BR /&gt;
=====&lt;BR /&gt;
data _null_;&lt;BR /&gt;
&lt;BR /&gt;
   set errors;&lt;BR /&gt;
&lt;BR /&gt;
    abort abend;&lt;BR /&gt;
&lt;BR /&gt;
run;&lt;BR /&gt;
=====&lt;BR /&gt;
&lt;BR /&gt;
Will abort if there are errors, and continue merrily along with the error data set has observations.</description>
      <pubDate>Wed, 06 May 2009 19:33:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Check-at-each-level/m-p/28414#M5226</guid>
      <dc:creator>JackHamilton</dc:creator>
      <dc:date>2009-05-06T19:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Check at each level</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Check-at-each-level/m-p/28415#M5227</link>
      <description>abort abend will exit out of the system.But all I need is to stop at that point so that I can check the error and start the process again.&lt;BR /&gt;
&lt;BR /&gt;
By usig abort abend, I will have to login back to the sas system again.This will confuse the user I guess!</description>
      <pubDate>Wed, 06 May 2009 20:53:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Check-at-each-level/m-p/28415#M5227</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2009-05-06T20:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Check at each level</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Check-at-each-level/m-p/28416#M5228</link>
      <description>In a DATA step, test the variable used with the NOBS=&lt;VARNAME&gt;  on the SET statement, and issue a STOP;  statement if there are observations found in the ERRORS file.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;/VARNAME&gt;</description>
      <pubDate>Thu, 07 May 2009 01:05:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Check-at-each-level/m-p/28416#M5228</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-05-07T01:05:49Z</dc:date>
    </item>
  </channel>
</rss>

