Problem Note 40727: ERROR: The keyword parameter DATA was not defined with the macro
In SAS® OpRisk VaR® 4.1, the %orva_simulate macro contains two incorrect calls to the %orvu_append macro. Because of these incorrect calls, the following error occurs when you request the calculation of VaR with insurance:
ERROR: The keyword parameter DATA was not defined with the macro
As a workaround, edit the %orva_simulate macro and correct the calls. For a default installation on Windows, this macro is located at:
C:\Program Files\SAS\SASFoundation\9.2\orvar\ucmacros
For example, at SAS OpRisk VaR 4.1_M2, in orva_simulate.sas, at lines 145 and 146, the word "data" is used in the following lines:
%orvu_append(base = &outstatNaked, data = _tmpStatNaked, canUseAppend = true);
%orvu_append(base = &outstatInsured, data = _tmpStatNaked, canUseAppend = true);
To correct these lines, replace them with these lines of code:
%orvu_append(base = &outstatNaked, new = _tmpStatNaked, canUseAppend = true);
%orvu_append(base = &outstatInsured, new = _tmpStatNaked, canUseAppend = true);
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS OpRisk VaR | Microsoft® Windows® for x64 | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Datacenter Edition | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Enterprise Edition | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Standard Edition | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
Microsoft Windows Server 2003 for x64 | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
Microsoft Windows Server 2008 for x64 | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
Microsoft Windows XP Professional | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
Windows Vista | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
Windows Vista for x64 | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
64-bit Enabled AIX | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
64-bit Enabled HP-UX | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
64-bit Enabled Solaris | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
HP-UX IPF | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
Linux | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
Linux for x64 | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M3 |
Solaris for x64 | 4.1 | 4.2 | 9.2 TS2M0 | 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: | high |
Date Modified: | 2010-10-20 09:54:39 |
Date Created: | 2010-08-30 11:00:16 |