<?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: Error: proc rank not found in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Error-proc-rank-not-found/m-p/597885#M76258</link>
    <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did indeed try it out with a new SAS session earlier today (october 19), but I get the same results. Since I have this habit of running example code first to get a better feel for it, I just directly copied the code from here:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n18s1uw2tqvtxdn1chay1qq1jke6.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n18s1uw2tqvtxdn1chay1qq1jke6"&gt;https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n18s1uw2tqvtxdn1chay1qq1jke6.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n18s1uw2tqvtxdn1chay1qq1jke6&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And that's when I got the resulting error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;1                                                          The SAS System                           13:13 Saturday, October 19, 2019

1          ;*';*";*/;quit;run;
2          OPTIONS PAGENO=MIN;
3          %LET _CLIENTTASKLABEL='Program (3)';
4          %LET _CLIENTPROCESSFLOWNAME='test3';
5          %LET _CLIENTPROJECTPATH='C:\Users\104056\Downloads\Project TenneT Aggregaties v44 Wenkuo Chen.egp';
6          %LET _CLIENTPROJECTPATHHOST='LT016988';
7          %LET _CLIENTPROJECTNAME='Project TenneT Aggregaties v44 Wenkuo Chen.egp';
8          %LET _SASPROGRAMFILE='';
9          %LET _SASPROGRAMFILEHOST='';
10         
11         ODS _ALL_ CLOSE;
12         OPTIONS DEV=PNG;
13         GOPTIONS XPIXELS=0 YPIXELS=0;
14         FILENAME EGSR TEMP;
15         ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR
16             STYLE=HtmlBlue
17             STYLESHEET=(URL="file:///C:/ProgramData/App-V/99628B5F-7C83-40FD-9C17-4FBFD8D796B8/67D8A25E-06EE-44B4-804F-D678847E14
17       ! E9/Root/SASEnterpriseGuide/7.1/Styles/HtmlBlue.css")
18             NOGTITLE
19             NOGFOOTNOTE
20             GPATH=&amp;amp;sasworklocation
21             ENCODING=UTF8
22             options(rolap="on")
23         ;
NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR
24         
25         GOPTIONS ACCESSIBLE;
26         options nodate pageno=1 linesize=80 pagesize=60;
27         data cake;
28            input Name $ 1-10 Present 12-13 Taste 15-16;
29            datalines;

NOTE: The data set WORK.CAKE has 7 observations and 3 variables.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      
37         ;

38         proc rank data=cake out=order descending ties=low;
ERROR: The RANK procedure cannot be run.
ERROR: Procedure RANK not found.
39            var present taste;
40            ranks PresentRank TasteRank;
41         run;

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE RANK used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      


42         proc print data=order;
ERROR: File WORK.ORDER.DATA does not exist.
43            title "Rankings of Participants' Scores";
44         run;

2                                The SAS System

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PRINT used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      
45         
46         GOPTIONS NOACCESSIBLE;
47         %LET _CLIENTTASKLABEL=;
48         %LET _CLIENTPROCESSFLOWNAME=;
49         %LET _CLIENTPROJECTPATH=;
50         %LET _CLIENTPROJECTPATHHOST=;
51         %LET _CLIENTPROJECTNAME=;
52         %LET _SASPROGRAMFILE=;
53         %LET _SASPROGRAMFILEHOST=;
54         
55         ;*';*";*/;quit;run;
56         ODS _ALL_ CLOSE;
57         
58         
59         QUIT; RUN;
60         &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some additional information (not sure if this is useful):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS EG version 7.15 HF3 (7.100.5.6132).&lt;/P&gt;&lt;P&gt;Platform version 9.4.5.0&lt;/P&gt;&lt;P&gt;Model version 16.01&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 19 Oct 2019 11:27:22 GMT</pubDate>
    <dc:creator>JianShen</dc:creator>
    <dc:date>2019-10-19T11:27:22Z</dc:date>
    <item>
      <title>Error: proc rank not found</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-proc-rank-not-found/m-p/597722#M76246</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, I get the error that proc rank is not found when I try to run. From what I've seen and understood,&amp;nbsp;proc rank should be part of the Base SAS Software, based on this link:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=allprodsproc&amp;amp;docsetTarget=procedures.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=allprodsproc&amp;amp;docsetTarget=procedures.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've already ran both&amp;nbsp;proc setinit and&amp;nbsp;proc product_status to check if Base SAS Software is licensed (it is until some time in 2020) and if it's installed (installed version is custom version 9.4_5m if I understood correctly).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;since it's still not working, I was hoping that someone could tell me what I might've missed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 14:12:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-proc-rank-not-found/m-p/597722#M76246</guid>
      <dc:creator>JianShen</dc:creator>
      <dc:date>2019-10-18T14:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error: proc rank not found</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-proc-rank-not-found/m-p/597771#M76251</link>
      <description>&lt;P&gt;Please show the log that includes the procedure call and all the messages.&lt;/P&gt;
&lt;P&gt;Copy directly from the log and paste into a code box opened using the forum's {I} or "running man" icon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And by any chance have you saved the code and then restarted your SAS session?&lt;/P&gt;
&lt;P&gt;Or is this call to Proc Rank buried in a macro by any chance? If so, then set OPTION MPRINT; before rerunning the code and posting in the forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 16:35:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-proc-rank-not-found/m-p/597771#M76251</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-10-18T16:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error: proc rank not found</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-proc-rank-not-found/m-p/597885#M76258</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did indeed try it out with a new SAS session earlier today (october 19), but I get the same results. Since I have this habit of running example code first to get a better feel for it, I just directly copied the code from here:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n18s1uw2tqvtxdn1chay1qq1jke6.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n18s1uw2tqvtxdn1chay1qq1jke6"&gt;https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n18s1uw2tqvtxdn1chay1qq1jke6.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n18s1uw2tqvtxdn1chay1qq1jke6&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And that's when I got the resulting error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;1                                                          The SAS System                           13:13 Saturday, October 19, 2019

1          ;*';*";*/;quit;run;
2          OPTIONS PAGENO=MIN;
3          %LET _CLIENTTASKLABEL='Program (3)';
4          %LET _CLIENTPROCESSFLOWNAME='test3';
5          %LET _CLIENTPROJECTPATH='C:\Users\104056\Downloads\Project TenneT Aggregaties v44 Wenkuo Chen.egp';
6          %LET _CLIENTPROJECTPATHHOST='LT016988';
7          %LET _CLIENTPROJECTNAME='Project TenneT Aggregaties v44 Wenkuo Chen.egp';
8          %LET _SASPROGRAMFILE='';
9          %LET _SASPROGRAMFILEHOST='';
10         
11         ODS _ALL_ CLOSE;
12         OPTIONS DEV=PNG;
13         GOPTIONS XPIXELS=0 YPIXELS=0;
14         FILENAME EGSR TEMP;
15         ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR
16             STYLE=HtmlBlue
17             STYLESHEET=(URL="file:///C:/ProgramData/App-V/99628B5F-7C83-40FD-9C17-4FBFD8D796B8/67D8A25E-06EE-44B4-804F-D678847E14
17       ! E9/Root/SASEnterpriseGuide/7.1/Styles/HtmlBlue.css")
18             NOGTITLE
19             NOGFOOTNOTE
20             GPATH=&amp;amp;sasworklocation
21             ENCODING=UTF8
22             options(rolap="on")
23         ;
NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR
24         
25         GOPTIONS ACCESSIBLE;
26         options nodate pageno=1 linesize=80 pagesize=60;
27         data cake;
28            input Name $ 1-10 Present 12-13 Taste 15-16;
29            datalines;

NOTE: The data set WORK.CAKE has 7 observations and 3 variables.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      
37         ;

38         proc rank data=cake out=order descending ties=low;
ERROR: The RANK procedure cannot be run.
ERROR: Procedure RANK not found.
39            var present taste;
40            ranks PresentRank TasteRank;
41         run;

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE RANK used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      


42         proc print data=order;
ERROR: File WORK.ORDER.DATA does not exist.
43            title "Rankings of Participants' Scores";
44         run;

2                                The SAS System

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PRINT used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      
45         
46         GOPTIONS NOACCESSIBLE;
47         %LET _CLIENTTASKLABEL=;
48         %LET _CLIENTPROCESSFLOWNAME=;
49         %LET _CLIENTPROJECTPATH=;
50         %LET _CLIENTPROJECTPATHHOST=;
51         %LET _CLIENTPROJECTNAME=;
52         %LET _SASPROGRAMFILE=;
53         %LET _SASPROGRAMFILEHOST=;
54         
55         ;*';*";*/;quit;run;
56         ODS _ALL_ CLOSE;
57         
58         
59         QUIT; RUN;
60         &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some additional information (not sure if this is useful):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS EG version 7.15 HF3 (7.100.5.6132).&lt;/P&gt;&lt;P&gt;Platform version 9.4.5.0&lt;/P&gt;&lt;P&gt;Model version 16.01&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2019 11:27:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-proc-rank-not-found/m-p/597885#M76258</guid>
      <dc:creator>JianShen</dc:creator>
      <dc:date>2019-10-19T11:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error: proc rank not found</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-proc-rank-not-found/m-p/597891#M76260</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/242091"&gt;@JianShen&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Normally, this error should not occur. I suspect there is an issue with your SAS installation and recommend &lt;A href="https://support.sas.com/en/technical-support/contact-sas.html" target="_blank" rel="noopener"&gt;contacting SAS Technical Support&lt;/A&gt;. (Cf. problem note&amp;nbsp;&lt;A href="http://support.sas.com/kb/57/128.html" target="_blank" rel="noopener"&gt;The FREQ procedure cannot be run&lt;/A&gt;.)&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2019 13:40:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-proc-rank-not-found/m-p/597891#M76260</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-10-19T13:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error: proc rank not found</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-proc-rank-not-found/m-p/598047#M76265</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see, thank you for the answer. I will do that then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jian&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 07:06:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-proc-rank-not-found/m-p/598047#M76265</guid>
      <dc:creator>JianShen</dc:creator>
      <dc:date>2019-10-21T07:06:01Z</dc:date>
    </item>
  </channel>
</rss>

