<?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: STOP PRINTING THE PROC MIXED OUTPUT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137323#M261219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can turn of the listing (or other output locations) so that only the ODS OUTPUT is running.&lt;/P&gt;&lt;P&gt;You can use ODS SELECT or ODS EXCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SUBMIT statement is red because the command is RSUBMIT.&amp;nbsp; Code within the RSUBMIT/ENDRSUBMIT block will be run on the remote session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Nov 2013 14:32:28 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2013-11-10T14:32:28Z</dc:date>
    <item>
      <title>STOP PRINTING THE PROC MIXED OUTPUT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137322#M261218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I used proc mixed to estimate REML . It is,&lt;/P&gt;&lt;P&gt;PROC IML;&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;.........;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;submit;&lt;/STRONG&gt;(This command is RED COLOUR)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc mixed data&lt;/STRONG&gt;=mix method=reml;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;class ID&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;model&lt;/STRONG&gt; Y= X1 X2 X3 / solution outpm=outpm;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;repeated&lt;/STRONG&gt; / type=cs subject = ID R;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ods output&lt;/STRONG&gt; R=R SolutionF=SolutionF;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endsubmit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.....continue IML programme....(here some codes are red)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three questions...&lt;/P&gt;&lt;P&gt;1) How can I stop printing the outcome of this (Proc mixed)? (I used no print option but not working)&lt;/P&gt;&lt;P&gt;2) I used both iml and proc mixed for my programme. It take too much time to run and complete simulation. How can I solve this?&lt;/P&gt;&lt;P&gt;3) Why do some codes are red?&lt;/P&gt;&lt;P&gt;Thank you for your Help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 08:41:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137322#M261218</guid>
      <dc:creator>wbrian</dc:creator>
      <dc:date>2013-11-09T08:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: STOP PRINTING THE PROC MIXED OUTPUT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137323#M261219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can turn of the listing (or other output locations) so that only the ODS OUTPUT is running.&lt;/P&gt;&lt;P&gt;You can use ODS SELECT or ODS EXCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SUBMIT statement is red because the command is RSUBMIT.&amp;nbsp; Code within the RSUBMIT/ENDRSUBMIT block will be run on the remote session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 14:32:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137323#M261219</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-11-10T14:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: STOP PRINTING THE PROC MIXED OUTPUT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137324#M261220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Tom. It work(RSUBMIT). I have still some red code after the the proc mixed. My program look like following.&lt;/P&gt;&lt;P&gt;proc iml;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *********************************;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *******Generating X matrix********;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; **********************************;&lt;BR /&gt;call randseed(2346);&lt;BR /&gt;xi=j(N1,1);&lt;BR /&gt;X=j(N1,7);&lt;BR /&gt;call randgen(xi,'Normal');&lt;BR /&gt;X[ ,1]=xi;&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;.......more here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call randseed(1234);&lt;BR /&gt;create Mix var {"Y" "x1" "x2" "x3" "x4" "x5" "x6" "x7" "Indiv"};&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* name the variables */&lt;/P&gt;&lt;P&gt;append;&lt;/P&gt;&lt;P&gt;close Mix;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rsubmit;&lt;BR /&gt;ods select noitprint;&lt;BR /&gt;proc mixed data=Mix method=reml&amp;nbsp; ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; class Indiv;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; model y = x1 x2 x3 x4 x5 x6 x7 / solution outpm=outpm;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; repeated / type=cs subject=Indiv R;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ods output R=R SolutionF=SolutionF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;quit;&amp;nbsp; &lt;BR /&gt;endRsubmit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;use&lt;/STRONG&gt;&lt;/SPAN&gt; R;&lt;STRONG&gt; &lt;SPAN style="text-decoration: underline;"&gt;read&lt;/SPAN&gt;&lt;/STRONG&gt; all var _NUM_ into cov&lt;STRONG&gt;;&lt;SPAN style="text-decoration: underline;"&gt;close&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;use&lt;/STRONG&gt;&lt;/SPAN&gt; SolutionF; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;read&lt;/STRONG&gt;&lt;/SPAN&gt; all var {Estimate} in bet;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt; close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------more....&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;--------------------------------------------&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;my program is long. You can see bold underlined words. They are still red. I am thinking that the way I connect IML and PROC MIXED is wrong.Please let me know&lt;/P&gt;&lt;P&gt;If you know this.&lt;/P&gt;&lt;P&gt;AGAIN...NOW MY PROGRAM IS NOT WORKING TO RSUBMIT..IT SAYS FOLLOWING ERROR.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1432&amp;nbsp; RSUBMIT;&lt;BR /&gt;ERROR: Invalid or unspecified remote session ID. Set OPTIONS REMOTE=session_id.&lt;BR /&gt;ERROR: Remote submit to UNKNOWN canceled.&lt;BR /&gt;1433&lt;/P&gt;&lt;P&gt;I have no idea why it is not working now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 20:40:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137324#M261220</guid>
      <dc:creator>wbrian</dc:creator>
      <dc:date>2013-11-10T20:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: STOP PRINTING THE PROC MIXED OUTPUT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137325#M261221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't worry about the red color. Your original syntax (SUBMIT...ENDSUBMIT) was correct. SUBMIT is a valid SAS/IML statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you running a simulation? For the explanatory variable, are you generating explanatory variables as a cluster of multivariate normal data? If so, see&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/iml/2011/01/12/sampling-from-the-multivariate-normal-distribution/" title="http://blogs.sas.com/content/iml/2011/01/12/sampling-from-the-multivariate-normal-distribution/"&gt; Sampling from the multivariate normal distribution - The DO Loop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://blogs.sas.com/content/iml/2011/09/21/generate-a-random-sample-from-a-mixture-distribution/"&gt;http://blogs.sas.com/content/iml/2011/09/21/generate-a-random-sample-from-a-mixture-distribution/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For simulating multivariate data and mixed models, I recommend the book &lt;A href="http://support.sas.com/publishing/authors/wicklin.html"&gt;Simulating Data with SAS&lt;/A&gt; , especially Chapter 8 (multivariate distributions) and Chapter 12 (Simulating from Advanced Regression Models).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 14:45:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137325#M261221</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-11-18T14:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: STOP PRINTING THE PROC MIXED OUTPUT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137326#M261222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could I just confirm the use of SUBMIT and ENDSUBMIT in SAS IML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too am getting red color commands after I use the SUBMIT ENDSUBMIT in IML.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC IML;&lt;/P&gt;&lt;P&gt;obs = 1;&lt;/P&gt;&lt;P&gt;count = 1;&lt;/P&gt;&lt;P&gt;do i = 1 to 8 while(obs&amp;lt;5);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; count = count+1;&lt;/P&gt;&lt;P&gt;create newdata from count [colname="count"]; append from count; close newdata;&lt;/P&gt;&lt;P&gt;SUBMIT;&lt;/P&gt;&lt;P&gt;data newdata;&lt;/P&gt;&lt;P&gt;set newdata;&lt;/P&gt;&lt;P&gt;if count=4 then delete;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;PROC APPEND BASE=results Data=newdata;&lt;/P&gt;&lt;P&gt;Run; &lt;/P&gt;&lt;P&gt;ENDSUBMIT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;use&lt;/STRONG&gt;&lt;/SPAN&gt; results; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;read&lt;/STRONG&gt;&lt;/SPAN&gt; all var _NUM_ into numobs; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;close&lt;/STRONG&gt;&lt;/SPAN&gt; results;&lt;/P&gt;&lt;P&gt;obs = NROW(numobs);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END;&lt;/P&gt;&lt;P&gt;QUIT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the use, read, and close command after the ENDSUBMIT is red (and any others inserted before QUIT) even though, as I understand, we are back in IML after the ENDSUBMIT. Is this just a color glitch? It seems to run fine but just want to make sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 09:30:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137326#M261222</guid>
      <dc:creator>S_Colwell</dc:creator>
      <dc:date>2014-03-18T09:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: STOP PRINTING THE PROC MIXED OUTPUT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137327#M261223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. The editor tries to color keywords as best it can, but PROC IML has it's own syntax that sometimes differs from syntax of other procedures.&amp;nbsp; Your syntax looks fine to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 14:40:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/STOP-PRINTING-THE-PROC-MIXED-OUTPUT/m-p/137327#M261223</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2014-03-19T14:40:30Z</dc:date>
    </item>
  </channel>
</rss>

