<?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 plotting outside a macro in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/plotting-outside-a-macro/m-p/5734#M2310</link>
    <description>Dear SAS Users,&lt;BR /&gt;
I am using proc glimmix to run a glmm on count data. My model uses a macro so when i try and insert the "plot" function into my model it wont run it as the error says its not defined in the macro. Does this mean i have to write a code within the macro for the plot or is there a simpler way where i can make SAS look outside the macro?&lt;BR /&gt;
I have pasted the model below - it runs fine until i try adding in the terms requesting plots (in bold).&lt;BR /&gt;
Thankyou in advance.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;ods graphics on;&lt;/B&gt;&lt;BR /&gt;
%include 'C:\Documents and Settings\glimmixV8.sas';  &lt;BR /&gt;
%glimmix(data=livnobees, &lt;B&gt;plots=pearsonpanel&lt;/B&gt;,&lt;BR /&gt;
        procopt=method=reml cl, stmts=%str(&lt;BR /&gt;
                class round field transect subj;&lt;BR /&gt;
                model nobees = round dist&lt;BR /&gt;
/  SOLUTION htype=3 ddfm=kenwardroger;&lt;BR /&gt;
                random   field transect(field)  ;&lt;BR /&gt;
repeated round /  subject=subj  type=ar(1);),&lt;BR /&gt;
 error=poisson, link=log, maxit=40);&lt;BR /&gt;
run; &lt;BR /&gt;
&lt;B&gt;ods html close;&lt;BR /&gt;
ods graphics off;&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;ERROR: The keyword parameter PLOTS was not defined with the macro.&lt;/I&gt;</description>
    <pubDate>Thu, 29 Nov 2007 16:02:32 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-11-29T16:02:32Z</dc:date>
    <item>
      <title>plotting outside a macro</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/plotting-outside-a-macro/m-p/5734#M2310</link>
      <description>Dear SAS Users,&lt;BR /&gt;
I am using proc glimmix to run a glmm on count data. My model uses a macro so when i try and insert the "plot" function into my model it wont run it as the error says its not defined in the macro. Does this mean i have to write a code within the macro for the plot or is there a simpler way where i can make SAS look outside the macro?&lt;BR /&gt;
I have pasted the model below - it runs fine until i try adding in the terms requesting plots (in bold).&lt;BR /&gt;
Thankyou in advance.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;ods graphics on;&lt;/B&gt;&lt;BR /&gt;
%include 'C:\Documents and Settings\glimmixV8.sas';  &lt;BR /&gt;
%glimmix(data=livnobees, &lt;B&gt;plots=pearsonpanel&lt;/B&gt;,&lt;BR /&gt;
        procopt=method=reml cl, stmts=%str(&lt;BR /&gt;
                class round field transect subj;&lt;BR /&gt;
                model nobees = round dist&lt;BR /&gt;
/  SOLUTION htype=3 ddfm=kenwardroger;&lt;BR /&gt;
                random   field transect(field)  ;&lt;BR /&gt;
repeated round /  subject=subj  type=ar(1);),&lt;BR /&gt;
 error=poisson, link=log, maxit=40);&lt;BR /&gt;
run; &lt;BR /&gt;
&lt;B&gt;ods html close;&lt;BR /&gt;
ods graphics off;&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;ERROR: The keyword parameter PLOTS was not defined with the macro.&lt;/I&gt;</description>
      <pubDate>Thu, 29 Nov 2007 16:02:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/plotting-outside-a-macro/m-p/5734#M2310</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-11-29T16:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: plotting outside a macro</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/plotting-outside-a-macro/m-p/5735#M2311</link>
      <description>Hi:&lt;BR /&gt;
  This is not an ODS or Base Reporting procedure (PRINT, REPORT, TABULATE) question.&lt;BR /&gt;
 &lt;BR /&gt;
  Your best bet for help with PROC GLIMMIX and SAS Macro program problems is to contact SAS Technical Support. To send a question to Tech Support, go to &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt; and in the left-hand navigation pane, click on the link entitled "Submit a Problem".&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 29 Nov 2007 16:22:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/plotting-outside-a-macro/m-p/5735#M2311</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-11-29T16:22:47Z</dc:date>
    </item>
  </channel>
</rss>

