BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
JianShen
Obsidian | Level 7

Hi All,

 

Currently, I get the error that proc rank is not found when I try to run. From what I've seen and understood, proc rank should be part of the Base SAS Software, based on this link:

 

https://documentation.sas.com/?docsetId=allprodsproc&docsetTarget=procedures.htm&docsetVersion=9.4&l...

 

I've already ran both proc setinit and 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). 

 

since it's still not working, I was hoping that someone could tell me what I might've missed.

 

Many thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
FreelanceReinh
Jade | Level 19

Hi @JianShen,

 

Normally, this error should not occur. I suspect there is an issue with your SAS installation and recommend contacting SAS Technical Support. (Cf. problem note The FREQ procedure cannot be run.)

View solution in original post

4 REPLIES 4
ballardw
Super User

Please show the log that includes the procedure call and all the messages.

Copy directly from the log and paste into a code box opened using the forum's {I} or "running man" icon.

 

And by any chance have you saved the code and then restarted your SAS session?

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.

 

 

JianShen
Obsidian | Level 7

Hi @ballardw,

 

Thank you for the reply!

 

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: https://documentation.sas.com/?docsetId=proc&docsetTarget=n18s1uw2tqvtxdn1chay1qq1jke6.htm&docsetVer...

 

And that's when I got the resulting error.

 

The log:

 

 

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=&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         

 

 

Some additional information (not sure if this is useful):

 

SAS EG version 7.15 HF3 (7.100.5.6132).

Platform version 9.4.5.0

Model version 16.01

 

FreelanceReinh
Jade | Level 19

Hi @JianShen,

 

Normally, this error should not occur. I suspect there is an issue with your SAS installation and recommend contacting SAS Technical Support. (Cf. problem note The FREQ procedure cannot be run.)

JianShen
Obsidian | Level 7

Hi @FreelanceReinh 

 

I see, thank you for the answer. I will do that then.

 

Best,

 

Jian

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1515 views
  • 0 likes
  • 3 in conversation