Problem Note 38549: PROC GLIMMIX displays internal code in the Log window when the procedures are inside a macro and OPTIONS MPRINT statement is used.
When one executes the GLIMMIX procedure or the NLMIXED procedure within a macro and specifies the
MPRINT option, some internal SAS code is printed to the log. Here is a sample
program that demonstrates the behavior.
options mprint;
%macro temp;
proc glimmix data=sashelp.class;
class sex;
model weight=sex;
run;
%mend;
%temp;
Below is a piece of the extra code printed in the Log window.
MPRINT(TEMP): proc glimmix data=sashelp.class;
MPRINT(TEMP): class sex;
MPRINT(TEMP): model weight=sex;
MPRINT(TEMP): run;
MPRINT(TEMP): if (_MU_ = .) then _VARIANCE_ = .;
MPRINT(TEMP): else do;
MPRINT(TEMP): _VARIANCE_ = 1.0;
MPRINT(TEMP): end;
MPRINT(TEMP): run;
MPRINT(TEMP): if (_CALCMU_) then _MU_ = _LINP_;
MPRINT(TEMP): _ETA_ = _MEAN_;
MPRINT(TEMP): run;
MPRINT(TEMP): if (_MU_=.) or (_LINP_=.) then _LOGL_ = .;
MPRINT(TEMP): else do;
MPRINT(TEMP): __res__=(__Y__ - _MU_);
MPRINT(TEMP): if (abs(__res__) > 1.340781E154) or (_PHI_ < 1.110223E-12) then _LOGL_ = -1E20;
MPRINT(TEMP): else do;
MPRINT(TEMP): _LOGL_ = -0.5 * __F__ * (_REMLFAC_ * log(_PHI_/__W__) +
__W__*__res__*__res__/_PHI_);
MPRINT(TEMP): end;
MPRINT(TEMP): end;
MPRINT(TEMP): run;
There is no circumvention for this problem
Operating System and Release Information
SAS System | SAS/STAT | z/OS | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft® Windows® for x64 | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Windows Vista | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
HP-UX IPF | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Linux | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Linux for x64 | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
OpenVMS on HP Integrity | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Solaris for x64 | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
options mprint;
%macro temp;
proc glimmix data=sashelp.class;
class sex;
model weight=sex;
run;
%mend;
%temp;
Type: | Problem Note |
Priority: | low |
Topic: | Analytics ==> Mixed Models
|
Date Modified: | 2012-06-08 15:28:57 |
Date Created: | 2010-01-31 21:27:08 |