<?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 Error trying to do / clparm on a proc surveylogistic in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Error-trying-to-do-clparm-on-a-proc-surveylogistic/m-p/767566#M10204</link>
    <description>&lt;P&gt;I'm getting an error when I try to run a proc surveylogistic. I'm think it has to do with the / clparm I added, but it could be something else. Code and log below. Thanks so much!&amp;nbsp; &amp;nbsp; Edit: playing around with the code, and I don't think it's the clparm. again any help is much appreciated&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*b2*/
/*vaxxed*/
proc surveylogistic data=masks1;
where waveno GE 6;
weight wt_multi;
class d_age_cat2 (ref="0") d_gender (ref="MALE") d_race (ref="NH White") d_politics (ref="DEM") d_religion2(ref="NOTHING") vaxxed(ref="0") d_hcw (ref="0") d_chronic (ref="0") waveno(ref="6");
model b2_m_always (event=”1”) = waveno d_age_cat2 d_gender d_race d_politics d_religion2 vaxxed d_hcw d_chronic / clparm;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;103        
 104        /*b2*/
 105        /*vaxxed*/
 106        proc surveylogistic data=masks1;
 NOTE: PROCEDURE SURVEYLOGISTIC used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              2100.50k
       OS Memory           27816.00k
       Timestamp           09/13/2021 08:58:27 PM
       Step Count                        26  Switch Count  0
       Page Faults                       0
       Page Reclaims                     396
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           8
       
 NOTE: The SAS System stopped processing this step because of errors.
 107        where waveno GE 6;
 108        weight wt_multi;
 109        class d_age_cat2 (ref="0") d_gender (ref="MALE") d_race (ref="NH White") d_politics (ref="DEM")
 109      ! d_religion2(ref="NOTHING") vaxxed(ref="0") d_hcw (ref="0") d_chronic (ref="0") waveno(ref="6");
 110        model b2_m_always (event=”1”) = waveno d_age_cat2 d_gender d_race d_politics d_religion2 vaxxed d_hcw d_chronic /
                                     _______
                                     22
                                     202
 110      ! clparm;
 ERROR 22-322: Syntax error, expecting one of the following: a quoted string, FIRST, LAST.  
 ERROR 202-322: The option or parameter is not recognized and will be ignored.
 111        run;
 112        
 113        
 114        OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 124        &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 21:19:49 GMT</pubDate>
    <dc:creator>joachimg</dc:creator>
    <dc:date>2021-09-13T21:19:49Z</dc:date>
    <item>
      <title>Error trying to do / clparm on a proc surveylogistic</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-trying-to-do-clparm-on-a-proc-surveylogistic/m-p/767566#M10204</link>
      <description>&lt;P&gt;I'm getting an error when I try to run a proc surveylogistic. I'm think it has to do with the / clparm I added, but it could be something else. Code and log below. Thanks so much!&amp;nbsp; &amp;nbsp; Edit: playing around with the code, and I don't think it's the clparm. again any help is much appreciated&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*b2*/
/*vaxxed*/
proc surveylogistic data=masks1;
where waveno GE 6;
weight wt_multi;
class d_age_cat2 (ref="0") d_gender (ref="MALE") d_race (ref="NH White") d_politics (ref="DEM") d_religion2(ref="NOTHING") vaxxed(ref="0") d_hcw (ref="0") d_chronic (ref="0") waveno(ref="6");
model b2_m_always (event=”1”) = waveno d_age_cat2 d_gender d_race d_politics d_religion2 vaxxed d_hcw d_chronic / clparm;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;103        
 104        /*b2*/
 105        /*vaxxed*/
 106        proc surveylogistic data=masks1;
 NOTE: PROCEDURE SURVEYLOGISTIC used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              2100.50k
       OS Memory           27816.00k
       Timestamp           09/13/2021 08:58:27 PM
       Step Count                        26  Switch Count  0
       Page Faults                       0
       Page Reclaims                     396
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           8
       
 NOTE: The SAS System stopped processing this step because of errors.
 107        where waveno GE 6;
 108        weight wt_multi;
 109        class d_age_cat2 (ref="0") d_gender (ref="MALE") d_race (ref="NH White") d_politics (ref="DEM")
 109      ! d_religion2(ref="NOTHING") vaxxed(ref="0") d_hcw (ref="0") d_chronic (ref="0") waveno(ref="6");
 110        model b2_m_always (event=”1”) = waveno d_age_cat2 d_gender d_race d_politics d_religion2 vaxxed d_hcw d_chronic /
                                     _______
                                     22
                                     202
 110      ! clparm;
 ERROR 22-322: Syntax error, expecting one of the following: a quoted string, FIRST, LAST.  
 ERROR 202-322: The option or parameter is not recognized and will be ignored.
 111        run;
 112        
 113        
 114        OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 124        &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 21:19:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-trying-to-do-clparm-on-a-proc-surveylogistic/m-p/767566#M10204</guid>
      <dc:creator>joachimg</dc:creator>
      <dc:date>2021-09-13T21:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to do / clparm on a proc surveylogistic</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-trying-to-do-clparm-on-a-proc-surveylogistic/m-p/767569#M10205</link>
      <description>Actually the error is in the quotes, you copied and pasted it from somewhere?&lt;BR /&gt;You need to retype the quotes, they're pretty curly quotes that SAS doesn't know how to interpret, just retyping the code will fix that. &lt;BR /&gt;&lt;BR /&gt;Note how this looks compared to the one in your editor:&lt;BR /&gt;model b2_m_always (event=”1”) &lt;BR /&gt;&lt;BR /&gt;FYI - if you had not pasted your code in a code box this would have been a PITA to find.</description>
      <pubDate>Mon, 13 Sep 2021 21:19:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-trying-to-do-clparm-on-a-proc-surveylogistic/m-p/767569#M10205</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-09-13T21:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to do / clparm on a proc surveylogistic</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-trying-to-do-clparm-on-a-proc-surveylogistic/m-p/767570#M10206</link>
      <description>&lt;P&gt;Ahhh I see it! I did copy and paste from another doc, so I went through and fixed all of the quotes....except for that one!! Thank you so much. I knew it was going to be staring me in the face. xD&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 21:21:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-trying-to-do-clparm-on-a-proc-surveylogistic/m-p/767570#M10206</guid>
      <dc:creator>joachimg</dc:creator>
      <dc:date>2021-09-13T21:21:48Z</dc:date>
    </item>
  </channel>
</rss>

