<?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 error 22-322 syntax error expecting one of the following a name keyword... in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644194#M192385</link>
    <description>&lt;P&gt;I don't know PROC METADATA, but looks like you've got the most famous error in SAS - a missing semicolon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc metadata
   method=status
   in='&amp;lt;Cluster List=" "/&amp;gt;'
   options='&amp;lt;Cluster/&amp;gt;' ;   /*semicolon here ends the PROC statement*/
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't work, please post the log, showing the code and error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to SAS. : )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2020 10:43:17 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2020-04-30T10:43:17Z</dc:date>
    <item>
      <title>sas error 22-322 syntax error expecting one of the following a name keyword...</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644191#M192384</link>
      <description>&lt;P&gt;Hi to all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to SAS so apologize for the basic questions but I get the above message from the below code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me kindly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;PRE&gt;proc metadata
   method=status
   in='&amp;lt;Cluster List=" "/&amp;gt;'
   options='&amp;lt;Cluster/&amp;gt;'
run;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Apr 2020 10:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644191#M192384</guid>
      <dc:creator>vinpres</dc:creator>
      <dc:date>2020-04-30T10:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: sas error 22-322 syntax error expecting one of the following a name keyword...</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644194#M192385</link>
      <description>&lt;P&gt;I don't know PROC METADATA, but looks like you've got the most famous error in SAS - a missing semicolon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc metadata
   method=status
   in='&amp;lt;Cluster List=" "/&amp;gt;'
   options='&amp;lt;Cluster/&amp;gt;' ;   /*semicolon here ends the PROC statement*/
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't work, please post the log, showing the code and error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to SAS. : )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 10:43:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644194#M192385</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2020-04-30T10:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: sas error 22-322 syntax error expecting one of the following a name keyword...</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644229#M192405</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also addying the semicolon at the end of procedure I getting the same error.&lt;/P&gt;&lt;P&gt;Below a fragment of log that show the error in detail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinpres_0-1588255413796.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38910i90E25BC0BCE7891B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinpres_0-1588255413796.png" alt="vinpres_0-1588255413796.png" /&gt;&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;</description>
      <pubDate>Thu, 30 Apr 2020 14:03:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644229#M192405</guid>
      <dc:creator>vinpres</dc:creator>
      <dc:date>2020-04-30T14:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: sas error 22-322 syntax error expecting one of the following a name keyword...</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644236#M192410</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/322464"&gt;@vinpres&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you possibly using an old SAS version such as 9.2? In this case you'd be limited to the options described in the &lt;A href="https://support.sas.com/documentation/cdl/en/lrmeta/60739/HTML/default/viewer.htm#a003177570.htm" target="_blank" rel="noopener"&gt;old documentation&lt;/A&gt;. The METHOD argument was introduced in version 9.3: see first bullet point in&amp;nbsp;&lt;A href="https://support.sas.com/documentation/cdl/en/lrmeta/63180/HTML/default/viewer.htm#lrmetawhatsnew93.htm" target="_blank" rel="noopener"&gt;What's New in the SAS 9.3 Language Interfaces to Metadata&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To find out your version/release number, submit&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put &amp;amp;sysver;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Apr 2020 13:11:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644236#M192410</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-04-30T13:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: sas error 22-322 syntax error expecting one of the following a name keyword...</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644245#M192413</link>
      <description>&lt;P&gt;Hi FreelanceReinhard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes I'm using the 9.2 version of SAS.&lt;/P&gt;&lt;P&gt;Following the log submitting %put &amp;amp;sysver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But what I want know is the information about Active Server node in the cluster.&lt;/P&gt;&lt;P&gt;Is It possible with the 9.2 version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinpres_0-1588255657703.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38911iAAAF227266694CC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinpres_0-1588255657703.png" alt="vinpres_0-1588255657703.png" /&gt;&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;</description>
      <pubDate>Thu, 30 Apr 2020 14:07:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644245#M192413</guid>
      <dc:creator>vinpres</dc:creator>
      <dc:date>2020-04-30T14:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: sas error 22-322 syntax error expecting one of the following a name keyword...</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644261#M192422</link>
      <description>&lt;P&gt;I'm not sure because I have never visited that part of the SAS world. What I see in the documentation is that &lt;SPAN&gt;METHOD=STATUS was introduced in SAS 9.3 to enable certain administrative actions while the SAS Metadata Server is paused. In SAS 9.2 you can at least retrieve the server status (e.g. "PAUSED") and a few more pieces of information by means of the &lt;A href="https://support.sas.com/documentation/cdl/en/lrmeta/60739/HTML/default/viewer.htm#a003182988.htm" target="_blank" rel="noopener"&gt;METAOPERATE procedure&lt;/A&gt;&amp;nbsp;(see Example "&lt;A href="https://support.sas.com/documentation/cdl/en/lrmeta/60739/HTML/default/viewer.htm#a003182995.htm" target="_blank" rel="noopener"&gt;Submitting ACTION=STATUS&lt;/A&gt;" and &lt;A href="https://support.sas.com/documentation/cdl/en/lrmeta/60739/HTML/default/viewer.htm#a003091932.htm" target="_blank" rel="noopener"&gt;Comparison of the METADATA Procedure and the METAOPERATE Procedure&lt;/A&gt;).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Maybe someone in the&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/bd-p/sas_admin" target="_blank" rel="noopener"&gt;Administration and Deployment&lt;/A&gt; subforum can help you if you create a new post there and describe exactly what information about the Active Server node you want to retrieve with SAS 9.2. Good luck.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 14:51:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-error-22-322-syntax-error-expecting-one-of-the-following-a/m-p/644261#M192422</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-04-30T14:51:54Z</dc:date>
    </item>
  </channel>
</rss>

