SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 40727: ERROR: The keyword parameter DATA was not defined with the macro

DetailsHotfixAboutRate It
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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS OpRisk VaRMicrosoft® Windows® for x644.14.29.2 TS2M09.2 TS2M3
Microsoft Windows Server 2003 Datacenter Edition4.14.29.2 TS2M09.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition4.14.29.2 TS2M09.2 TS2M3
Microsoft Windows Server 2003 Standard Edition4.14.29.2 TS2M09.2 TS2M3
Microsoft Windows Server 2003 for x644.14.29.2 TS2M09.2 TS2M3
Microsoft Windows Server 2008 for x644.14.29.2 TS2M09.2 TS2M3
Microsoft Windows XP Professional4.14.29.2 TS2M09.2 TS2M3
Windows Vista4.14.29.2 TS2M09.2 TS2M3
Windows Vista for x644.14.29.2 TS2M09.2 TS2M3
64-bit Enabled AIX4.14.29.2 TS2M09.2 TS2M3
64-bit Enabled HP-UX4.14.29.2 TS2M09.2 TS2M3
64-bit Enabled Solaris4.14.29.2 TS2M09.2 TS2M3
HP-UX IPF4.14.29.2 TS2M09.2 TS2M3
Linux4.14.29.2 TS2M09.2 TS2M3
Linux for x644.14.29.2 TS2M09.2 TS2M3
Solaris for x644.14.29.2 TS2M09.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.