BookmarkSubscribeRSS Feed
Paulo373
Fluorite | Level 6

Hello everyone!

I am running SAS 9.4 on a Windows 10 x64 workstation licensed to The Ohio State University, and I am trying to use the PDMIX800 macro after a PROC MIXED analysis to generate letter‑based multiple comparison results. My code runs normally until the moment I call the macro. The PROC MIXED step executes without issues, the %include statement reads the macro file correctly, and the macro even starts processing. However, when it reaches the part that depends on SAS/IML, the execution stops and the following errors appear in the log:

PDMIX800 08.08.2003 processing
ERROR: The SAS/IML product with which IML is associated is either not licensed
       for your system or the product license has expired. Please contact your
       SAS installation representative.
ERROR: Bad product ID for procedure IML.
ERROR: File WORK.MSGRPZZ.DATA does not exist.
ERROR: File WORK.MSGRPZZ.DATA does not exist.

My PROC MIXED code is:
proc mixed plots=studentpanel(marginal conditional);
class heifer group time;
model le = group time group*time / outp=new1;
random heifer(group);
repeated time / type=ar(1) sub=heifer(group);
lsmeans group time group*time / diff adj=tukey;
ods output diffs=ppp lsmeans=mmm;
ods listing exclude diffs lsmeans;
run;

%include 'C:\Users\...\pdmix800.sas';

%pdmix800(ppp, mmm, alpha=.05, sort=no);
run;


Anyone could help me?

 

6 REPLIES 6
ballardw
Super User

Please run these two procedures and share the LOG results. These will tell us if the SAS/IML product that the macro requires is available to your license and if it was installed. 

 

Proc setinit;
run;

Proc product_status;
run;

The error message does state that if the SAS/IML product is not installed that the macro will not execute. So you will not get any IML dependent results. If you describe what you need someone may suggest a work around that doesn't involve IML. May. The conversion of IML to other steps may not be very easy.

Paulo373
Fluorite | Level 6

This what I got from the Log:

41 ;
42 data b; set a;
43 e=t1;time=14;output;
44 e=t2;time=15;output;
45 e=t3;time=16;output;
46 e=t4;time=17;output;
47 e=t5;time=18;output;
48 e=t6;time=19;output;
49 e=t7;time=20;output;
50 /*
51 e=t8;time=8;output;
52 e=t9;time=9;output;
53 e=t10;time=10;output;
54 e=t11;time=11;output;
55 e=t12;time=12;output;
56 e=t13;time=13;output;
57 e=t14;time=14;output;
58 /*
59 e=t15;time=15;output;
60 e=t16;time=16;output;
61 e=t17;time=17;output;
62 e=t18;time=18;output;
63 /*
64 e=t19;time=26;output;
65 /*
66 e=t20;time=27;output;
67 e=t21;time=28;output;
68 e=t22;time=29;output;
69 e=t23;time=30;output;
70 e=t24;time=31;output;
71 e=t25;time=32;output;
72 e=t26;time=33;output;
73 e=t27;time=48;output;
74 e=t28;time=63;output;
75 */
76
77
78 drop t1-t7;

NOTE: There were 31 observations read from the data set WORK.A.
NOTE: The data set WORK.B has 217 observations and 4 variables.
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds


79 data c; set b;
80 t=time;
81 le=log(e);
82 se=sqrt(e);
83

NOTE: Missing values were generated as a result of performing an operation on
missing values.
Each place is given by: (Number of times) at (Line):(Column).
22 at 81:4 22 at 82:4
NOTE: There were 217 observations read from the data set WORK.B.
NOTE: The data set WORK.C has 217 observations and 7 variables.
NOTE: DATA statement used (Total process time):
real time 0.04 seconds
cpu time 0.01 seconds


84 proc rank out=new;
85 var e;
86 ranks re;
87

NOTE: The data set WORK.NEW has 217 observations and 8 variables.
NOTE: PROCEDURE RANK used (Total process time):
real time 0.03 seconds
cpu time 0.01 seconds


88 proc print;
NOTE: Writing HTML Body file: sashtml.htm
89
90
91 /*
92 proc univariate plot normal;
93 var e le se re;
94 */
95

NOTE: There were 217 observations read from the data set WORK.NEW.
NOTE: PROCEDURE PRINT used (Total process time):
real time 3.99 seconds
cpu time 3.20 seconds


96 proc mixed plots=studentpanel(marginal conditional);
97 class heifer group time;
98 model le=group time group*time/ outp=new1;
99 random heifer(group);
100 repeated time / type=ar(1) sub=heifer(group); /*type=sp(pow) when the
100! sampling interval is not equal throughout the entire analysis*/
101 lsmeans group time group*time / diff adj=tukey;
102 ods output diffs=ppp lsmeans=mmm;
103 ods listing exclude diffs lsmeans;
ERROR: The LISTING destination is not active;
no select/exclude lists are available.
ERROR: The LISTING destination is not active;
no select/exclude lists are available.
104 run;

NOTE: 22 observations are not included because of missing values.
NOTE: Convergence criteria met.
NOTE: The data set WORK.MMM has 31 observations and 8 variables.
NOTE: The data set WORK.PPP has 234 observations and 12 variables.
NOTE: The data set WORK.NEW1 has 217 observations and 15 variables.
NOTE: PROCEDURE MIXED used (Total process time):
real time 8.96 seconds
cpu time 6.87 seconds


105
106 %include 'C:\Users\x\Desktop\SAS templates\pdmix800.sas';
659
660 %pdmix800(ppp,mmm,alpha=.05,sort=no);
PDMIX800 08.08.2003 processing
ERROR: The SAS/IML product with which IML is associated is either not licensed
for your system or the product license has expired. Please contact your
SAS installation representative.
ERROR: Bad product ID for procedure IML.
ERROR: File WORK.MSGRPZZ.DATA does not exist.
ERROR: File WORK.MSGRPZZ.DATA does not exist.
WARNING: The data set WORK.MSGRPZZ may be incomplete. When this step was
stopped there were 0 observations and 12 variables.
3.499183565
Tukey-Kramer values for group are 1.04602 (avg) 0.96596 (min) 1.15709
(max).
4.228330036
Tukey-Kramer values for time are 0.90893 (avg) 0.80095 (min) 0.97353 (max).
5.1429748379
Tukey-Kramer values for group*time are 2.20647 (avg) 1.28793 (min) 2.73944
(max).
ERROR: Variable ADJUSTMENT not found.
WARNING: The variable lsmrank in the DROP, KEEP, or RENAME list has never been
referenced.
ERROR: Variable ADJUSTMENT not found.
661
662 run;
663


664 data residy; set new1;
665

NOTE: There were 217 observations read from the data set WORK.NEW1.
NOTE: The data set WORK.RESIDY has 217 observations and 15 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds


666 proc plot;
667 plot resid*pred;

NOTE: Non-portable document will be produced. The current settings of FORMCHAR
use nonstandard line-drawing characters and the resulting output file
will not render correctly unless all readers of the document have the SAS
Monospace font installed. To make your document portable, issue the
following command:
OPTIONS FORMCHAR="|----|+|---+=|-/\<>*";

NOTE: There were 217 observations read from the data set WORK.RESIDY.
NOTE: PROCEDURE PLOT used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds


668 proc univariate plot normal;
669 var resid;

NOTE: PROCEDURE UNIVARIATE used (Total process time):
real time 1.95 seconds
cpu time 1.75 seconds


670 Proc setinit;
671 correr;
------
180
NOTE: The previous statement has been deleted.
ERROR 180-322: Statement is not valid or it is used out of proper order.
672

Original site validation data
Current version: 9.04.01M7P080520
Site name: 'THE OHIO STATE UNIVERSITY - SFA T&R'.
Site number: 70160962.
CPU A: Model name='' model number='' serial=''.
Expiration: 30SEP2026.
Grace Period: 0 days (ending 30SEP2026).
Warning Period: 15 days (ending 15OCT2026).
System birthday: 22SEP2025.
Operating System: WX64_WKS.
Product expiration dates:
---Base SAS Software
30SEP2026 (CPU A)
---SAS/STAT
30SEP2026 (CPU A)
---SAS/GRAPH
30SEP2026 (CPU A)
---SAS/CONNECT
30SEP2026 (CPU A)
---SAS Enterprise Miner
30SEP2026 (CPU A)
---SAS Integration Technologies
30SEP2026 (CPU A)
---SAS/Secure 168-bit
30SEP2026 (CPU A)
---SAS/Secure Windows
30SEP2026 (CPU A)
---SAS Enterprise Guide
30SEP2026 (CPU A)
---SAS/ACCESS Interface to PC Files
30SEP2026 (CPU A)
---SAS Workspace Server for Local Access
30SEP2026 (CPU A)
---High Performance Suite
30SEP2026 (CPU A)
---SAS Add-in for Microsoft Excel
30SEP2026 (CPU A)
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SETINIT used (Total process time):
real time 0.05 seconds
cpu time 0.06 seconds

 

673 Proc product_status;
674 correr;
------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
675
676 /*
677
678
679
680 proc sort; by group;
681 proc mixed; by group;
682 class heifer time;
683 model Le=time;
684 random heifer;
685 repeated time / type=ar(1) sub=heifer;
686 lsmeans time / diff ADJ=TUKEY;
687 ods output diffs=ppp lsmeans=mmm;
688 ods listing exclude diffs lsmeans;
689 run;
690
691 %include 'C:\Users\domingues.2\OneDrive - The Ohio State
691 ! University\Documents\SAS templstes\pdmix800.sas';
692
693 %pdmix800(ppp,mmm,alpha=.05,sort=no);
694
695 run;
696
697 /*
698
699
700 proc sort; by time;
701 proc mixed; by time;
702 class heifer group;
703 model Le=group;
704 random heifer(group);
705 lsmeans group / diff ADJ=TUKEY;
706 ods output diffs=ppp lsmeans=mmm;
707 ods listing exclude diffs lsmeans;
708 run;
709
710 %include 'C:\Users\domingues.2\OneDrive - The Ohio State
710 ! University\Documents\SAS templstes\pdmix800.sas';
711
712 %pdmix800(ppp,mmm,alpha=.05,sort=no);
713
714 run;
715
716 /*
717 proc glm;
718 class heifer group;
719 model e=group;
720 means group/duncan;
721
722
723 proc sort; by time;
724 proc ttest; by time;
725 class group;
726 var e;
727 */

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PRODUCT_STATUS used (Total process time):

sbxkoenk
SAS Super FREQ

I don't know that PDMIX800 macro,

but I know there's no compact letter displays (CLD) for multiple comparisons in PROC MIXED.

 

I suggest to store the model in an item store.

When you restore with PROC PLM, you can use the lines and linestable option on the LSMEANS statement of PROC PLM.

(The PLM procedure performs Post-fitting statistical analyses on Linear Models.)

 

Just a thought ...

 

data heights;
   input Family Gender$ Height @@;
   datalines;
1 F 67   1 F 66   1 F 64   1 M 71   1 M 72   2 F 63
2 F 63   2 F 67   2 M 69   2 M 68   2 M 70   3 F 63
3 M 64   4 F 67   4 F 66   4 M 67   4 M 67   4 M 69
;
run;

/* two-way analysis of variance */
proc mixed data=heights;
   class Family Gender;
   model Height = Gender Family Family*Gender;
   lsmeans Family / adjust=smm adjdfe=row;
store sasuser.mymixed;
run;

proc plm restore=sasuser.mymixed;
   show cov Parms;
   lsmeans Family / diff lines linestable;
run;
/* end of program */

BR, Koen

Paulo373
Fluorite | Level 6

This is what I got, when I ran 

Proc setinit;
run;

Proc product_status;
run;


105
106 %include 'C:\Users\x\Desktop\SAS templates\pdmix800.sas';
659
660 %pdmix800(ppp,mmm,alpha=.05,sort=no);
PDMIX800 08.08.2003 processing
ERROR: The SAS/IML product with which IML is associated is either not licensed
for your system or the product license has expired. Please contact your
SAS installation representative.
ERROR: Bad product ID for procedure IML.
ERROR: File WORK.MSGRPZZ.DATA does not exist.
ERROR: File WORK.MSGRPZZ.DATA does not exist.
WARNING: The data set WORK.MSGRPZZ may be incomplete. When this step was
stopped there were 0 observations and 12 variables.
3.499183565
Tukey-Kramer values for group are 1.04602 (avg) 0.96596 (min) 1.15709
(max).
4.228330036
Tukey-Kramer values for time are 0.90893 (avg) 0.80095 (min) 0.97353 (max).
5.1429748379
Tukey-Kramer values for group*time are 2.20647 (avg) 1.28793 (min) 2.73944
(max).
ERROR: Variable ADJUSTMENT not found.
WARNING: The variable lsmrank in the DROP, KEEP, or RENAME list has never been
referenced.
ERROR: Variable ADJUSTMENT not found.
661
662 run;
663


664 data residy; set new1;
665

NOTE: There were 217 observations read from the data set WORK.NEW1.
NOTE: The data set WORK.RESIDY has 217 observations and 15 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds


666 proc plot;
667 plot resid*pred;

NOTE: Non-portable document will be produced. The current settings of FORMCHAR
use nonstandard line-drawing characters and the resulting output file
will not render correctly unless all readers of the document have the SAS
Monospace font installed. To make your document portable, issue the
following command:
OPTIONS FORMCHAR="|----|+|---+=|-/\<>*";

NOTE: There were 217 observations read from the data set WORK.RESIDY.
NOTE: PROCEDURE PLOT used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds


668 proc univariate plot normal;
669 var resid;

NOTE: PROCEDURE UNIVARIATE used (Total process time):
real time 1.95 seconds
cpu time 1.75 seconds


670 Proc setinit;
671 correr;
------
180
NOTE: The previous statement has been deleted.
ERROR 180-322: Statement is not valid or it is used out of proper order.
672

Original site validation data
Current version: 9.04.01M7P080520
Site name: 'THE OHIO STATE UNIVERSITY - SFA T&R'.
Site number: 70160962.
CPU A: Model name='' model number='' serial=''.
Expiration: 30SEP2026.
Grace Period: 0 days (ending 30SEP2026).
Warning Period: 15 days (ending 15OCT2026).
System birthday: 22SEP2025.
Operating System: WX64_WKS.
Product expiration dates:
---Base SAS Software
30SEP2026 (CPU A)
---SAS/STAT
30SEP2026 (CPU A)
---SAS/GRAPH
30SEP2026 (CPU A)
---SAS/CONNECT
30SEP2026 (CPU A)
---SAS Enterprise Miner
30SEP2026 (CPU A)
---SAS Integration Technologies
30SEP2026 (CPU A)
---SAS/Secure 168-bit
30SEP2026 (CPU A)
---SAS/Secure Windows
30SEP2026 (CPU A)
---SAS Enterprise Guide
30SEP2026 (CPU A)
---SAS/ACCESS Interface to PC Files
30SEP2026 (CPU A)
---SAS Workspace Server for Local Access
30SEP2026 (CPU A)
---High Performance Suite
30SEP2026 (CPU A)
---SAS Add-in for Microsoft Excel
30SEP2026 (CPU A)
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SETINIT used (Total process time):
real time 0.05 seconds
cpu time 0.06 seconds

 

673 Proc product_status;
674 correr;
------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
675
676 /*
677
678
679
680 proc sort; by group;
681 proc mixed; by group;
682 class heifer time;
683 model Le=time;
684 random heifer;
685 repeated time / type=ar(1) sub=heifer;
686 lsmeans time / diff ADJ=TUKEY;
687 ods output diffs=ppp lsmeans=mmm;
688 ods listing exclude diffs lsmeans;
689 run;
690
691 %include 'C:\Users\domingues.2\OneDrive - The Ohio State
691 ! University\Documents\SAS templstes\pdmix800.sas';
692
693 %pdmix800(ppp,mmm,alpha=.05,sort=no);
694
695 run;
696
697 /*
698
699
700 proc sort; by time;
701 proc mixed; by time;
702 class heifer group;
703 model Le=group;
704 random heifer(group);
705 lsmeans group / diff ADJ=TUKEY;
706 ods output diffs=ppp lsmeans=mmm;
707 ods listing exclude diffs lsmeans;
708 run;
709
710 %include 'C:\Users\domingues.2\OneDrive - The Ohio State
710 ! University\Documents\SAS templstes\pdmix800.sas';
711
712 %pdmix800(ppp,mmm,alpha=.05,sort=no);
713
714 run;
715
716 /*
717 proc glm;
718 class heifer group;
719 model e=group;
720 means group/duncan;
721
722
723 proc sort; by time;
724 proc ttest; by time;
725 class group;
726 var e;
727 */

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PRODUCT_STATUS used (Total process time):
real time 0.04 seconds
cpu time 0.03 seconds

 

728 proc means n mean stderr;
729 class group;
730 var e;
731 run;

NOTE: There were 217 observations read from the data set WORK.RESIDY.
NOTE: PROCEDURE MEANS used (Total process time):
real time 0.02 seconds
cpu time 0.00 seconds


732 options linesize=80 pagesize=64;
733 data a;
734 input heifer$ group$ t1-t7;
735 cards;

NOTE: SAS went to a new line when INPUT statement reached past the end of a
line.
NOTE: The data set WORK.A has 31 observations and 9 variables.
NOTE: DATA statement used (Total process time):
real time 0.09 seconds
cpu time 0.01 seconds


772 ;
773 data b; set a;
774 e=t1;time=14;output;
775 e=t2;time=15;output;
776 e=t3;time=16;output;
777 e=t4;time=17;output;
778 e=t5;time=18;output;
779 e=t6;time=19;output;
780 e=t7;time=20;output;
781 /*
782 e=t8;time=8;output;
783 e=t9;time=9;output;
784 e=t10;time=10;output;
785 e=t11;time=11;output;
786 e=t12;time=12;output;
787 e=t13;time=13;output;
788 e=t14;time=14;output;
789 /*
790 e=t15;time=15;output;
791 e=t16;time=16;output;
792 e=t17;time=17;output;
793 e=t18;time=18;output;
794 /*
795 e=t19;time=26;output;
796 /*
797 e=t20;time=27;output;
798 e=t21;time=28;output;
799 e=t22;time=29;output;
800 e=t23;time=30;output;
801 e=t24;time=31;output;
802 e=t25;time=32;output;
803 e=t26;time=33;output;
804 e=t27;time=48;output;
805 e=t28;time=63;output;
806 */
807
808
809 drop t1-t7;

NOTE: There were 31 observations read from the data set WORK.A.
NOTE: The data set WORK.B has 217 observations and 4 variables.
NOTE: DATA statement used (Total process time):
real time 0.02 seconds
cpu time 0.00 seconds


810 data c; set b;
811 t=time;
812 le=log(e);
813 se=sqrt(e);
814

NOTE: Missing values were generated as a result of performing an operation on
missing values.
Each place is given by: (Number of times) at (Line):(Column).
22 at 812:4 22 at 813:4
NOTE: There were 217 observations read from the data set WORK.B.
NOTE: The data set WORK.C has 217 observations and 7 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds


815 proc rank out=new;
816 var e;
817 ranks re;
818

NOTE: The data set WORK.NEW has 217 observations and 8 variables.
NOTE: PROCEDURE RANK used (Total process time):
real time 0.01 seconds
cpu time 0.00 seconds


819 proc print;
820
821
822 /*
823 proc univariate plot normal;
824 var e le se re;
825 */
826

NOTE: There were 217 observations read from the data set WORK.NEW.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.12 seconds
cpu time 0.06 seconds


827 proc mixed plots=studentpanel(marginal conditional);
828 class heifer group time;
829 model le=group time group*time/ outp=new1;
830 random heifer(group);
831 repeated time / type=ar(1) sub=heifer(group); /*type=sp(pow) when the
831 ! sampling interval is not equal throughout the entire analysis*/
832 lsmeans group time group*time / diff adj=tukey;
833 ods output diffs=ppp lsmeans=mmm;
834 ods listing exclude diffs lsmeans;
ERROR: The LISTING destination is not active;
no select/exclude lists are available.
ERROR: The LISTING destination is not active;
no select/exclude lists are available.
835 run;

NOTE: 22 observations are not included because of missing values.
NOTE: Convergence criteria met.
NOTE: The data set WORK.MMM has 31 observations and 8 variables.
NOTE: The data set WORK.PPP has 234 observations and 12 variables.
NOTE: The data set WORK.NEW1 has 217 observations and 15 variables.
NOTE: PROCEDURE MIXED used (Total process time):
real time 4.93 seconds
cpu time 2.23 seconds


836
837 %include 'C:\Users\x\Desktop\SAS templates\pdmix800.sas';
1390
1391 %pdmix800(ppp,mmm,alpha=.05,sort=no);
PDMIX800 08.08.2003 processing
ERROR: The SAS/IML product with which IML is associated is either not licensed
for your system or the product license has expired. Please contact your
SAS installation representative.
ERROR: Bad product ID for procedure IML.
ERROR: Variable LSMRANK not found.
3.499183565
Tukey-Kramer values for group are 1.04602 (avg) 0.96596 (min) 1.15709
(max).
4.228330036
Tukey-Kramer values for time are 0.90893 (avg) 0.80095 (min) 0.97353 (max).
5.1429748379
Tukey-Kramer values for group*time are 2.20647 (avg) 1.28793 (min) 2.73944
(max).
ERROR: Variable ADJUSTMENT not found.
WARNING: The variable lsmrank in the DROP, KEEP, or RENAME list has never been
referenced.
ERROR: Variable ADJUSTMENT not found.
1392
1393 run;
1394


1395 data residy; set new1;
1396

NOTE: There were 217 observations read from the data set WORK.NEW1.
NOTE: The data set WORK.RESIDY has 217 observations and 15 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds


1397 proc plot;
1398 plot resid*pred;

NOTE: There were 217 observations read from the data set WORK.RESIDY.
NOTE: PROCEDURE PLOT used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds


1399 proc univariate plot normal;
1400 var resid;

NOTE: PROCEDURE UNIVARIATE used (Total process time):
real time 1.93 seconds
cpu time 1.37 seconds


1401 Proc setinit;
1402 correr;
------
180
NOTE: The previous statement has been deleted.
ERROR 180-322: Statement is not valid or it is used out of proper order.
1403

Original site validation data
Current version: 9.04.01M7P080520
Site name: 'THE OHIO STATE UNIVERSITY - SFA T&R'.
Site number: 70160962.
CPU A: Model name='' model number='' serial=''.
Expiration: 30SEP2026.
Grace Period: 0 days (ending 30SEP2026).
Warning Period: 15 days (ending 15OCT2026).
System birthday: 22SEP2025.
Operating System: WX64_WKS.
Product expiration dates:
---Base SAS Software
30SEP2026 (CPU A)
---SAS/STAT
30SEP2026 (CPU A)
---SAS/GRAPH
30SEP2026 (CPU A)
---SAS/CONNECT
30SEP2026 (CPU A)
---SAS Enterprise Miner
30SEP2026 (CPU A)
---SAS Integration Technologies
30SEP2026 (CPU A)
---SAS/Secure 168-bit
30SEP2026 (CPU A)
---SAS/Secure Windows
30SEP2026 (CPU A)
---SAS Enterprise Guide
30SEP2026 (CPU A)
---SAS/ACCESS Interface to PC Files
30SEP2026 (CPU A)
---SAS Workspace Server for Local Access
30SEP2026 (CPU A)
---High Performance Suite
30SEP2026 (CPU A)
---SAS Add-in for Microsoft Excel
30SEP2026 (CPU A)
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SETINIT used (Total process time):
real time 0.03 seconds
cpu time 0.01 seconds

 

1404 Proc product_status;
1405 correr;
------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.

Paulo373
Fluorite | Level 6

835
836 %include 'C:\Users\x\Desktop\SAS templates\pdmix800.sas';
1389
1390 %pdmix800(ppp,mmm,alpha=.05,sort=no);
PDMIX800 08.08.2003 processing
ERROR: The SAS/IML product with which IML is associated is either not licensed
for your system or the product license has expired. Please contact your
SAS installation representative.
ERROR: Bad product ID for procedure IML.
ERROR: Variable LSMRANK not found.
3.499183565
Tukey-Kramer values for group are 1.04602 (avg) 0.96596 (min) 1.15709
(max).
4.228330036
Tukey-Kramer values for time are 0.90893 (avg) 0.80095 (min) 0.97353 (max).
5.1429748379
Tukey-Kramer values for group*time are 2.20647 (avg) 1.28793 (min) 2.73944
(max).
ERROR: Variable ADJUSTMENT not found.
WARNING: The variable lsmrank in the DROP, KEEP, or RENAME list has never been
referenced.
ERROR: Variable ADJUSTMENT not found.


I still got this result
ballardw
Super User

The results from Proc Setinit do not show that SAS/IML is licensed. So any code including macros that make calls to SAS/IML features will not run and will throw errors.

 

That means finding a work-around to use instead of that macro. If an instructor or other said that macro needs to be used then talk to that person about access to SAS/IML.

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 6 replies
  • 703 views
  • 6 likes
  • 3 in conversation