SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 44378: Pricing rules import or export fails with ERROR: Write access to member DI_MACRO.SASMACR.CATALOG is denied.

DetailsHotfixAboutRate It

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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Regular Price Optimization64-bit Enabled AIX4.2_M14.2_M29.2 TS2M39.2 TS2M3
Microsoft Windows Server 2008 for x644.2_M14.2_M29.2 TS2M39.2 TS2M3
Microsoft Windows Server 20084.2_M14.2_M29.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 for x644.2_M14.2_M29.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Standard Edition4.2_M14.2_M29.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition4.2_M14.2_M29.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Datacenter Edition4.2_M14.2_M29.2 TS2M39.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.