SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 20982: Cannot create portfolio filter for portfolio file error if you use long character strings or exceed limit on number of filters

DetailsHotfixAboutRate It

If you use excessively long character strings when defining a large number of portfolio filters in SAS Risk Dimensions, the following error message might appear:

ERROR: Cannot create portfolio filter for portfolio file "<portfolio-file>".

…where <portfolio-file> is the name of the portfolio file that contains the filters.

This error message will appear if you exceed the limit imposed on the number of filters that can be included in a portfolio file. Similarly, the message will appear if you exceed the limit on the length of the aggregated character string composed of text contained in all of the filter specifications within the portfolio file.

A way to avoid this potential problem is to minimize the text that you use when you specify a set of filters in a portfolio file. A typical way to accomplish this is to use fewer characters in instrument variable names.

For example:


FILTER filter1 where "Geographical_location='Tokyo'";

…could be modified by renaming the instrument variable from "Geographical_location" to "City". See the example below:


FILTER filter1 where "City='Tokyo'";

Note: This issue will not arise unless there is a very large amount of text in the portfolio filter specifications.

Click on the Hot Fix tab to access the hot fix that addresses this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Risk Dimensions Enterprise EditionMicrosoft Windows XP Professional4.2.15.29.1 TS1M3 SP39.2 TS2M0
Microsoft Windows NT Workstation4.2.19.1 TS1M3 SP3
Microsoft Windows 2000 Server4.2.15.29.1 TS1M3 SP39.2 TS2M0
Microsoft Windows 2000 Professional4.2.15.29.1 TS1M3 SP39.2 TS2M0
Microsoft Windows 2000 Datacenter Server4.2.15.29.1 TS1M3 SP39.2 TS2M0
Microsoft Windows 2000 Advanced Server4.2.15.29.1 TS1M3 SP39.2 TS2M0
64-bit Enabled Solaris4.2.15.29.1 TS1M3 SP39.2 TS2M0
Solaris4.2.15.29.1 TS1M3 SP39.2 TS2M0
Linux4.2.15.29.1 TS1M3 SP39.2 TS2M0
HP-UX4.2.15.29.1 TS1M3 SP39.2 TS2M0
64-bit Enabled HP-UX4.2.15.29.1 TS1M3 SP39.2 TS2M0
64-bit Enabled AIX4.2.15.29.1 TS1M3 SP39.2 TS2M0
Tru64 UNIX4.2.15.29.1 TS1M3 SP39.2 TS2M0
AIX4.2.15.29.1 TS1M3 SP39.2 TS2M0
* 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.