<?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: PROC DESCRIPT: ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-DESCRIPT-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/703520#M215571</link>
    <description>&lt;P&gt;Can you run ANY SUDAAN code without errors?&lt;/P&gt;
&lt;P&gt;The underscores under DATA means SAS finds the Data = to be incorrect syntax. Which may mean your SUDAAN has an install issue or is not actually SAS callable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you use Proc Records and the Print option to display a few records from the data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might also try adding the library to the data set name. I don't remember if SUDAAN defaults to WORK or not.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Dec 2020 23:05:30 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-12-03T23:05:30Z</dc:date>
    <item>
      <title>PROC DESCRIPT: ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-DESCRIPT-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/703204#M215443</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am receiving the following error when I try running any SAS callable SUDAAN procedures:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC DESCRIPT data=TEMP filetype=SAS design=WR;&lt;BR /&gt;----&lt;BR /&gt;22&lt;BR /&gt;76&lt;BR /&gt;NOTE: An external program, not a SAS procedure, is being executed.&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP.&lt;BR /&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*****&lt;/P&gt;&lt;P&gt;I just had SUDAAN installed, and am not sure if the errors are because of my code or a problem with the installation. I have SAS 9.4, SUDAAN 11.0. Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 21:15:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-DESCRIPT-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/703204#M215443</guid>
      <dc:creator>CarlyM207</dc:creator>
      <dc:date>2020-12-02T21:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: PROC DESCRIPT: ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-DESCRIPT-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/703213#M215447</link>
      <description>&lt;P&gt;Which versions of SUDAAN are actually callable by SAS are version dependent. A lot. Not just by version number but by bit (32 bit SUDAAN won't run with 64 bit SAS ).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might also check any code submitted previously. This:&lt;/P&gt;
&lt;PRE&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP.&lt;/PRE&gt;
&lt;P&gt;may indicate that something previously was not ended correctly. It has been a while since I used SAS with SUDAAN but I think that the SUDAAN procs like Descript may be a bit pickier about requiring an actual RUN; to end the procedure than the native SAS procedures. If things are unstable enough that might require closing down SAS and restarting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best practice is to copy the log and paste into a code box opened on the forum with the &amp;lt;/&amp;gt; icon to preserve formatting and position of any of the SAS diagnostics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 21:56:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-DESCRIPT-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/703213#M215447</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-12-02T21:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROC DESCRIPT: ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-DESCRIPT-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/703412#M215517</link>
      <description>&lt;P&gt;Thanks for your reply. Here is the error as it appears in the log:&lt;/P&gt;&lt;PRE&gt;8    proc descript data = demo_f filetype = sas design = wr;
                   ----
                   22
                   76
NOTE: An external program, not a SAS procedure, is being executed.

ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP.
ERROR 76-322: Syntax error, statement will be ignored.
9    weight wtint2yr;
10   nest sdmvstra sdmvpsu / missunit;
11   var ridageyr;
12   run;

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE DESCRIPT used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds&lt;/PRE&gt;&lt;P&gt;I've tried restarting SAS and running others' code to check that it wasn't just an error with my code, but I keep getting the same message, regardless.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 15:33:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-DESCRIPT-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/703412#M215517</guid>
      <dc:creator>CarlyM207</dc:creator>
      <dc:date>2020-12-03T15:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: PROC DESCRIPT: ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-DESCRIPT-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/703520#M215571</link>
      <description>&lt;P&gt;Can you run ANY SUDAAN code without errors?&lt;/P&gt;
&lt;P&gt;The underscores under DATA means SAS finds the Data = to be incorrect syntax. Which may mean your SUDAAN has an install issue or is not actually SAS callable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you use Proc Records and the Print option to display a few records from the data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might also try adding the library to the data set name. I don't remember if SUDAAN defaults to WORK or not.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 23:05:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-DESCRIPT-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/703520#M215571</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-12-03T23:05:30Z</dc:date>
    </item>
  </channel>
</rss>

