- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I am running PROC FREQ using COMMONRISKDIFF option but I got ERROR message. I made quick research and seems this option has been introduced with SAS 9.4 version M5, hence becasue I am using SAS9.4 version M4P that's the reason why it doesn't work.
Jast wanted confirmation about this.
Thanks.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello @alovatin,
The list of enhancements in SAS/STAT 14.3 (which corresponds to SAS 9.4M5) suggests that COMMONRISKDIFF was introduced in that release, as you supposed. Indeed, this option is contained in Table 42.9: TABLES Statement Options for version 14.3, but not in the analogous table 41.9 for version 14.2 (which corresponds to SAS 9.4M4).
The typical log message in this case (in SAS 9.4M4 or earlier) would be a syntax error (ERROR 22-322) with "COMMONRISKDIFF" underlined and a list of the available options ("expecting one of the following: ...") in your release, followed by an ERROR 202-322 saying that the option is "not recognized".
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I think COMMONRISKDIFF existed before SAS 9.4 M5
, but
COMMONRISKDIFF(CL=KLINGENBERG) and
COMMONRISKDIFF(PRINTWTS=SCORE)
exist since SAS/STAT 15.1.
To know about the SAS/STAT you are running, submit :
proc product_status; run;
and look in the LOG.
Koen
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello @alovatin,
The list of enhancements in SAS/STAT 14.3 (which corresponds to SAS 9.4M5) suggests that COMMONRISKDIFF was introduced in that release, as you supposed. Indeed, this option is contained in Table 42.9: TABLES Statement Options for version 14.3, but not in the analogous table 41.9 for version 14.2 (which corresponds to SAS 9.4M4).
The typical log message in this case (in SAS 9.4M4 or earlier) would be a syntax error (ERROR 22-322) with "COMMONRISKDIFF" underlined and a list of the available options ("expecting one of the following: ...") in your release, followed by an ERROR 202-322 saying that the option is "not recognized".
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content