<?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: SAS options in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-options/m-p/802100#M315733</link>
    <description>&lt;P&gt;Add this statement to the top of your program:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options obs = 0 syntaxcheck;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When you run the program, no data will be processed but your code will be syntax checked.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2022 03:23:15 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2022-03-15T03:23:15Z</dc:date>
    <item>
      <title>SAS options</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-options/m-p/802097#M315730</link>
      <description>&lt;P&gt;Is there any option available, which allow to read the .sas file for syntax check and will not execute it.&lt;/P&gt;&lt;P&gt;SAS code contains both Data step and proc step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 02:51:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-options/m-p/802097#M315730</guid>
      <dc:creator>Chaitali09</dc:creator>
      <dc:date>2022-03-15T02:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS options</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-options/m-p/802099#M315732</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;SAS is processed as a set by submit, from compilation to execution.&lt;/STRIKE&gt;&lt;BR /&gt;&lt;STRIKE&gt;Basically, it is not possible to compile only.&lt;/STRIKE&gt;&lt;BR /&gt;&lt;STRIKE&gt;It may be possible to do something similar by using an empty data set.&lt;/STRIKE&gt;&lt;BR /&gt;However, syntax errors are detected in the compile phase, but any problems with the dataset or variables are detected as errors in the execution phase, so it is not very useful unless the data is actual data.&lt;BR /&gt;&lt;BR /&gt;Therefore, I sometimes test run the program with "obs= system options" or "obs= dataset options" to limit the number of observations before a time-consuming process.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 03:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-options/m-p/802099#M315732</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2022-03-15T03:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS options</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-options/m-p/802100#M315733</link>
      <description>&lt;P&gt;Add this statement to the top of your program:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options obs = 0 syntaxcheck;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When you run the program, no data will be processed but your code will be syntax checked.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 03:23:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-options/m-p/802100#M315733</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-03-15T03:23:15Z</dc:date>
    </item>
  </channel>
</rss>

