Problem Note 63282: The INFOMAPS procedure does not recognize DEFAULT_VALUES=_ALL_ as a valid value for a numeric prompt
Starting with SAS® 9.4, the INFOMAPS procedure added support for creating date, numeric, OLAP member, text, time, and timestamp prompts. For numeric and text prompts, you can use ALLOW_ALL_VALUES=YES to add a special value called (All possible values) to the list of values in the prompt. You can then use DEFAULT_VALUES=_ALL_ to set (All possible values) as the default value for the prompt.
However, if you set DEFAULT_VALUES=_ALL_ for a numeric prompt, you see an error that is similar to this one when you run the code:
[ java.lang.IllegalArgumentException: The value
"com.sas.prompts.datatypes.values.SpecialValue@404e6e81" is not valid.
Specify a valid integer. ]
ERROR: The procedure was unable to insert a numeric prompt.
There is no workaround that enables you to use (All possible values) as the default value for a numeric prompt. As an alternative, you can hardcode a numeric value as the default. Users can then manually select (All possible values) when they access the information map.
Click the Hot Fix tab in this note to access the hot fix for this issue.
For more information about the syntax, see "INSERT NUMERIC_PROMPT Statement" in the Base SAS® 9.4 Guide to Information Maps.
Operating System and Release Information
SAS System | Base SAS | Microsoft® Windows® for x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8 Enterprise x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8 Pro x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8.1 Pro x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 10 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2008 R2 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Datacenter | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 Std | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Std | 9.4 | | 9.4 TS1M0 | |
Windows 7 Enterprise x64 | 9.4 | | 9.4 TS1M0 | |
Windows 7 Professional x64 | 9.4 | | 9.4 TS1M0 | |
64-bit Enabled AIX | 9.4 | | 9.4 TS1M0 | |
64-bit Enabled Solaris | 9.4 | | 9.4 TS1M0 | |
HP-UX IPF | 9.4 | | 9.4 TS1M0 | |
Linux for x64 | 9.4 | | 9.4 TS1M0 | |
Solaris for x64 | 9.4 | | 9.4 TS1M0 | |
*
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.
When you set DEFAULT_VALUES=_ALL_ for a numeric prompt, PROC INFOMAPS returns an error that is similar to this one: "java.lang.IllegalArgumentException: The value "com.sas.prompts.datatypes.values.SpecialValue@404e6e81" is not valid."
Type: | Problem Note |
Priority: | high |
Date Modified: | 2019-02-21 14:36:14 |
Date Created: | 2018-11-27 15:27:00 |