Problem Note 44378: Pricing rules import or export fails with ERROR: Write access to member DI_MACRO.SASMACR.CATALOG is denied.
When using SAS® Regular Price Optimization to import or export pricing rules, you might encounter an error similar to the following causing the import or export to fail:
NOTE: The SAS System was unable to open the macro library referenced by the SASMSTORE = libref DI_MACRO.
ERROR: Write access to member DI_MACRO.SASMACR.CATALOG is denied.
ERROR: A dummy macro will be compiled.
107 +%_m_Product_Relationship_Price;
_
180
WARNING: Apparent invocation of macro _M_PRODUCT_RELATIONSHIP_PRICE not resolved.
ERROR 180-322: Statement is not valid or it is used out of proper order.
This error occurs because the DI_MACRO library is a read-only library and therefore will not allow new macros to be stored into it. To workaround this issue, you can implement the following workaround:
Modify disetup.sas by replacing this line:
libname di_macro (&goodcats);
with these lines:
%let macrc = %sysfunc(libname(macstore, (SASUSER), base));
options mstored sasmstore=macstore;
%macro _macstore /store secure;
%put
****************************************************************************;
%put Dynamic stored compiled macros will be stored in MACSTORE (SASUSER)
library.;
%put Temporary change to disetup.sas for SAS Note 44378 issue.;
%put Revert to original disetup.sas when this issue is fixed.;
%put
****************************************************************************;
%mend;
%_macstore;
libname di_macro ( macstore &goodcats);
* libname di_macro (&goodcats);
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Regular Price Optimization | 64-bit Enabled AIX | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2008 for x64 | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2008 | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 for x64 | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Standard Edition | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Enterprise Edition | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Datacenter Edition | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
*
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.
Type: | Problem Note |
Priority: | alert |
Date Modified: | 2011-11-15 09:47:39 |
Date Created: | 2011-09-22 09:22:10 |