Problem Note 45926: PROC COMPILE trade method "ERROR: You cannot access variable while you are in method ."
When you run a PROC COMPILE step that defines a trade method in SAS® Risk Dimensions®, you might encounter an error like the following:
ERROR: You cannot access variable <variable-name> while you are in method <method-name>.
This error occurs when you attempt to access an instrument variable or a project variable from within a trade method. These types of variables should be accessible to the method. However, PROC COMPILE incorrectly fails.
The workaround is to not access instrument or project variables from within a trade method.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Risk Dimensions Enterprise Edition | Microsoft® Windows® for x64 | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Datacenter Edition | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Enterprise Edition | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Standard Edition | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 for x64 | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2008 | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2008 for x64 | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows XP Professional | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Enterprise 32 bit | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Enterprise x64 | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Home Premium 32 bit | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Home Premium x64 | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Professional 32 bit | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Professional x64 | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Ultimate 32 bit | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Ultimate x64 | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows Vista | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows Vista for x64 | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
64-bit Enabled AIX | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
64-bit Enabled HP-UX | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
64-bit Enabled Solaris | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
HP-UX IPF | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Linux | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Linux for x64 | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
Solaris for x64 | 5.3_M1 | 5.4 | 9.2 TS2M3 | 9.3 TS1M2 |
*
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: | 2013-07-01 09:46:21 |
Date Created: | 2012-03-06 12:42:14 |