![]() | ![]() | ![]() | ![]() |
In SAS Forecast Studio 4.1 (M1), the following error occurs if you run sample reports when the Web Infrastructure Platform is configured on an Oracle database:
[1] org.springframework.jdbc.BadSqlGrammarException: SqlMapClient operation; bad SQL grammar []; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred while applying a parameter map. --- Check the JES.insertTask-InlineParameterMap. --- Check the statement (update failed). --- Cause: java.sql.SQLSyntaxErrorException: ORA-00904: "PROMPT_VALUES_TXT": invalid identifier at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslateSQLErrorCodeSQLExceptionTranslator.java:233) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate
This error occurs because there is a typographical error in the SAS_JES_TASKS table schema for Oracle. The identifier PROMPT_VALUES_TX should be PROMPT_VALUES_TXT. To resolve this error, follow these steps:
After you apply these steps (which are necessary), a different error occurs when you try to run the sample reports.
org.springframework.dao.DataIntegrityViolationException: SqlMapClient operation;
SQL [];
--- The error occurred in com/sas/svcs/jobexecution/dao/persistence/JES.xml.
--- The error occurred while applying a parameter map.
--- Check the JES.insertTaskInputValue-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot
insert NULL into ("SAS_SSVCS"."SAS_JES_TASK_INPUT_VALUES"."INPUT_VALUE_TXT")
; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in com/sas/svcs/jobexecution/dao/persistence/JES.xml.
--- The error occurred while applying a parameter map.
--- Check the JES.insertTaskInputValue-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot
insert NULL into ("SAS_SSVCS"."SAS_JES_TASK_INPUT_VALUES"."INPUT_VALUE_TXT")A hot fix is available to correct this second error. Click the Hot Fix tab in this note to access the hot fix for this issue.
| Product Family | Product | System | Product Release | SAS Release | ||
| Reported | Fixed* | Reported | Fixed* | |||
| SAS System | SAS Forecast Studio | Microsoft® Windows® for x64 | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 |
| Microsoft Windows Server 2003 Datacenter Edition | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Microsoft Windows Server 2003 Enterprise Edition | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Microsoft Windows Server 2003 Standard Edition | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Microsoft Windows Server 2003 for x64 | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Microsoft Windows Server 2008 | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Microsoft Windows Server 2008 for x64 | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Microsoft Windows XP Professional | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Windows 7 Enterprise 32 bit | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Windows 7 Enterprise x64 | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Windows 7 Home Premium 32 bit | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Windows 7 Home Premium x64 | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Windows 7 Professional 32 bit | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Windows 7 Professional x64 | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Windows 7 Ultimate 32 bit | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Windows 7 Ultimate x64 | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Windows Vista | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
| Windows Vista for x64 | 4.1_M1 | 12.1 | 9.3 TS1M1 | 9.3 TS1M2 | ||
A fix for this issue for SAS Middle Tier 9.3_M1 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/G38.html#46761| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2013-03-28 12:09:29 |
| Date Created: | 2012-06-07 10:56:56 |



