Problem Note 10909: 'Unexpected token' error when running a prioritization with a filter
If you create a prioritization in the SAS Campaign Management component
that includes a filter, you may receive an error similar to the
following:
Error Number: 40002
Line Number: 0
Component: Campaign Management Component
Module: MCommon
Procedure: BuildView
Description: 42601: [IBM][CLI Driver][DB2] SQL0104N An unexpected
token "," was found following "". Expected tokens may
include: "* <IDENTIFIER> ". SQLSTATE=42601.
This error may occur because the source and destination tables ('record
to map from' and 'record to map to') as defined in the 'Define Filters'
screen, do not have unique keys. If you use filters you are required to
have unique keys in both the source and destination tables. To correct
the problem, ensure that unique keys are defined in both tables in the
database, and that you have specified those key values in the KEYFLD and
KEYDEFN fields in the ISMDBSTR table.
A Technical Support hot fix for this issue is available at:
http://ftp.sas.com/techsup/download/hotfix/cam75.html
If you apply this hotfix, the Campaign Management application no longer
allows you to define a filter using tables that do not have unique keys
associated, and thereby prevents the error from occurring.
Operating System and Release Information
SAS System | SAS Campaign Management | Microsoft Windows NT Workstation | 7.4 | | | |
Microsoft Windows XP Professional | 7.4 | | | |
Microsoft Windows 2000 Professional | 7.4 | | | |
Microsoft Windows 2000 Advanced Server | 7.4 | | | |
Microsoft Windows 2000 Server | 7.4 | | | |
Microsoft Windows 2000 Datacenter Server | 7.4 | | | |
*
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: | high |
Date Modified: | 2003-11-13 10:43:59 |
Date Created: | 2003-09-24 10:02:40 |