<?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: Store Procedure and Proc PLM in SAS University Edition in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529522#M6902</link>
    <description>&lt;P&gt;Hey Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the delay in responding, I've been in meetings. Yes, I can run the code you posted perfectly. I was about to copy over the logbook and attach it here when I realized the logbook said that the model failed to converge and so deleted the output file, which I think is the answer to the problem I've been having! Anyways, thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jan 2019 20:27:31 GMT</pubDate>
    <dc:creator>ksn999</dc:creator>
    <dc:date>2019-01-23T20:27:31Z</dc:date>
    <item>
      <title>Store Procedure and Proc PLM in SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529429#M6894</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I can't get the Store command to work in SAS University Edition. I get the error message that the file ' NEFA.vc' does not exist or is not a valid item store when I try to use my stored data in the proc plm procedure. I have tried everything I can think of, creating a new library (NEFA), changing the dataset location, using an 'out=' under the store statement, etc. I can't find any resources with a solution online so thought I would post my question here. My code is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname NEFA '/folders/myfolders/';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data NEFA.revisions;&lt;BR /&gt;set revisions;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data=NEFA.revisions;&lt;BR /&gt;class condition time Subject_ID;&lt;BR /&gt;model glucose=condition time time*condition / ddfm=Kenwardroger;&lt;BR /&gt;random Subject_ID;&lt;BR /&gt;repeated condition / subject=Subject_ID rcorr;&lt;BR /&gt;store NEFA.vc;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc plm source=NEFA.vc;&lt;BR /&gt;lsmeans condition / adjust=tukey lines plot=meanplot;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated! Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 16:05:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529429#M6894</guid>
      <dc:creator>ksn999</dc:creator>
      <dc:date>2019-01-23T16:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Store Procedure and Proc PLM in SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529432#M6895</link>
      <description>&lt;P&gt;Can you run a PROC CONTENTS right after your first data step, check what is in your data set. Post the output here if you need to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data NEFA.revisions;
set revisions;
run;

proc contents data=nefa.revisions;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/257184"&gt;@ksn999&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I can't get the Store command to work in SAS University Edition. I get the error message that the file ' NEFA.vc' does not exist or is not a valid item store when I try to use my stored data in the proc plm procedure. I have tried everything I can think of, creating a new library (NEFA), changing the dataset location, using an 'out=' under the store statement, etc. I can't find any resources with a solution online so thought I would post my question here. My code is as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname NEFA '/folders/myfolders/';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data NEFA.revisions;&lt;BR /&gt;set revisions;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc mixed data=NEFA.revisions;&lt;BR /&gt;class condition time Subject_ID;&lt;BR /&gt;model glucose=condition time time*condition / ddfm=Kenwardroger;&lt;BR /&gt;random Subject_ID;&lt;BR /&gt;repeated condition / subject=Subject_ID rcorr;&lt;BR /&gt;store NEFA.vc;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc plm source=NEFA.vc;&lt;BR /&gt;lsmeans condition / adjust=tukey lines plot=meanplot;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be much appreciated! Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 16:08:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529432#M6895</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-23T16:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Store Procedure and Proc PLM in SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529436#M6896</link>
      <description>&lt;P&gt;Proc contents works just fine. Everything works perfectly except the store command. I get output from the proc mixed procedure, but then proc plm can't use the output. Here is a screenshot of the proc contents output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-01-23 at 11.15.11 .png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26513i5826422B2865B0F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-01-23 at 11.15.11 .png" alt="Screen Shot 2019-01-23 at 11.15.11 .png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 16:15:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529436#M6896</guid>
      <dc:creator>ksn999</dc:creator>
      <dc:date>2019-01-23T16:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Store Procedure and Proc PLM in SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529442#M6897</link>
      <description>Try changing your STORE line to:&lt;BR /&gt;&lt;BR /&gt;Store out=nfea.vc;</description>
      <pubDate>Wed, 23 Jan 2019 16:41:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529442#M6897</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-23T16:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Store Procedure and Proc PLM in SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529444#M6898</link>
      <description>Thanks Reeza, I’ve already tried that, it doesn’t work. I get the same error message.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jan 2019 16:45:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529444#M6898</guid>
      <dc:creator>ksn999</dc:creator>
      <dc:date>2019-01-23T16:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Store Procedure and Proc PLM in SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529448#M6899</link>
      <description>&lt;P&gt;Show your full log please.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 16:50:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529448#M6899</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-23T16:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Store Procedure and Proc PLM in SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529449#M6900</link>
      <description>&lt;P&gt;This was as close as I could get to your question, without data and finding fake data.&lt;/P&gt;
&lt;P&gt;The only thing missing is the RANDOM portion.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Does this work for you in SAS UE?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data pr;
   input Person Gender $ y1 y2 y3 y4;
   y=y1; Age=8;  output;
   y=y2; Age=10; output;
   y=y3; Age=12; output;
   y=y4; Age=14; output;
   drop y1-y4;
   datalines;
 1   F   21.0    20.0    21.5    23.0
 2   F   21.0    21.5    24.0    25.5
 3   F   20.5    24.0    24.5    26.0
 4   F   23.5    24.5    25.0    26.5
 5   F   21.5    23.0    22.5    23.5
 6   F   20.0    21.0    21.0    22.5
 7   F   21.5    22.5    23.0    25.0
 8   F   23.0    23.0    23.5    24.0
 9   F   20.0    21.0    22.0    21.5
10   F   16.5    19.0    19.0    19.5
11   F   24.5    25.0    28.0    28.0
12   M   26.0    25.0    29.0    31.0
13   M   21.5    22.5    23.0    26.5
14   M   23.0    22.5    24.0    27.5
15   M   25.5    27.5    26.5    27.0
16   M   20.0    23.5    22.5    26.0
17   M   24.5    25.5    27.0    28.5
18   M   22.0    22.0    24.5    26.5
19   M   24.0    21.5    24.5    25.5
20   M   23.0    20.5    31.0    26.0
21   M   27.5    28.0    31.0    31.5
22   M   23.0    23.0    23.5    25.0
23   M   21.5    23.5    24.0    28.0
24   M   17.0    24.5    26.0    29.5
25   M   22.5    25.5    25.5    26.0
26   M   23.0    24.5    26.0    30.0
27   M   22.0    21.5    23.5    25.0
;


   
proc mixed data=pr method=ml covtest;
   class Person Gender;
   model y = Gender Age Gender*Age / s ddfm=kenwardroger;
   repeated / type=un subject=Person r;
   store out=myDemo;
run;

proc plm source=myDemo;
lsmeans gender / adjust = tukey lines plot=meanplot;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 23 Jan 2019 16:58:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529449#M6900</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-23T16:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Store Procedure and Proc PLM in SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529522#M6902</link>
      <description>&lt;P&gt;Hey Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the delay in responding, I've been in meetings. Yes, I can run the code you posted perfectly. I was about to copy over the logbook and attach it here when I realized the logbook said that the model failed to converge and so deleted the output file, which I think is the answer to the problem I've been having! Anyways, thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 20:27:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Store-Procedure-and-Proc-PLM-in-SAS-University-Edition/m-p/529522#M6902</guid>
      <dc:creator>ksn999</dc:creator>
      <dc:date>2019-01-23T20:27:31Z</dc:date>
    </item>
  </channel>
</rss>

