<?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 LCA: 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-LCA-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/459613#M284591</link>
    <description>&lt;P&gt;Yes, I did. &lt;SPAN&gt;That's why I checked again if I installed the right version, but that does not seem to be the problem.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 May 2018 11:33:48 GMT</pubDate>
    <dc:creator>Klara1</dc:creator>
    <dc:date>2018-05-03T11:33:48Z</dc:date>
    <item>
      <title>PROC LCA: ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-LCA-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/459582#M284589</link>
      <description>&lt;DIV class="lia-quilt-column lia-quilt-column-04 lia-quilt-column-left lia-quilt-column-main-left"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-left"&gt;&lt;DIV class="dropdown-default-item"&gt;&lt;DIV class="dropdown-positioning"&gt;&amp;nbsp;Hello,&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-20 lia-quilt-column-right lia-quilt-column-main-right"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;&lt;DIV class="lia-message-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i downloaded and installed the externel program PROC LCA from the PennState University. I tried to run the test code provided by the developers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA test;
INPUT it1 it2 it3 it4 count;
DATALINES;
1  1  1  1  5
1  1  1  2  5
1  1  2  1  9
1  1  2  2  8
1  2  1  2  5
1  2  2  1  8
1  2  2  2  4
2  1  1  1  5
2  1  1  2  3
2  1  2  1  6
2  1  2  2  8
2  2  1  1  3
2  2  1  2  7
2  2  2  1  5
2  2  2  2  10
;
RUN;
PROC LCA DATA=test;
NCLASS 2;
ITEMS it1 it2 it3 it4;
CATEGORIES 2 2 2 2;
FREQ count;
SEED 100000;
RHO PRIOR=1;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i get the&amp;nbsp; following error that I don't know how to fix:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;************************************************************************************************************&lt;/P&gt;&lt;P&gt;21 PROC LCA DATA=test;&lt;BR /&gt;----&lt;BR /&gt;22&lt;BR /&gt;202&lt;BR /&gt;NOTE: An external program, not a SAS procedure, is being executed.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR 22-322: &lt;SPAN style="color: #ff0000;"&gt;Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR 202-322: The option or parameter is not recognized and will be ignored.&lt;/FONT&gt;&lt;BR /&gt;22 NCLASS 2;&lt;BR /&gt;23 ITEMS it1 it2 it3 it4;&lt;BR /&gt;24 CATEGORIES 2 2 2 2;&lt;BR /&gt;25 FREQ count;&lt;BR /&gt;26 SEED 100000;&lt;BR /&gt;27 RHO PRIOR=1;&lt;BR /&gt;28 RUN;&lt;/P&gt;&lt;P&gt;NOTE: Return code from LCA is -1073741510.&lt;BR /&gt;NOTE: PROZEDUR LCA used (Total process time):&lt;BR /&gt;******************************************************************************************************&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I downloaded the 64-bit version for my 64-bit SAS and followed exactly the instructions of the developers.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Previously I used PROC LCA with SAS 9.3 and it ran smoothly. For SAS 9.4 I had to reinstall it and now it does not work anymore.&lt;/SPAN&gt;&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;How can I fix this problem?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 May 2018 09:16:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-LCA-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/459582#M284589</guid>
      <dc:creator>Klara1</dc:creator>
      <dc:date>2018-05-03T09:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LCA: ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-LCA-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/459596#M284590</link>
      <description>&lt;P&gt;Did you see this&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/General-SAS-Programming/ERROR-22-322-Syntax-error-expecting-one-of-the-following-AUDIT/td-p/117286" target="_blank"&gt;https://communities.sas.com/t5/General-SAS-Programming/ERROR-22-322-Syntax-error-expecting-one-of-the-following-AUDIT/td-p/117286&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 10:31:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-LCA-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/459596#M284590</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-05-03T10:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LCA: ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-LCA-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/459613#M284591</link>
      <description>&lt;P&gt;Yes, I did. &lt;SPAN&gt;That's why I checked again if I installed the right version, but that does not seem to be the problem.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 11:33:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-LCA-ERROR-22-322-Syntax-error-expecting-one-of-the/m-p/459613#M284591</guid>
      <dc:creator>Klara1</dc:creator>
      <dc:date>2018-05-03T11:33:48Z</dc:date>
    </item>
  </channel>
</rss>

