A fix is available
APAR status
Closed as program error.
Error description
Oracle Connector failing when ROWID or ROWNUM are in the WHERE clause
Local fix
N/A
Problem summary
The following error message is produced when the problem is encountered: "The input schema column rowid is not used and the connector is configured to stop when unused columns are detected in the input schema." Where 'rowid' above is the pseudo-column in the table. The Oracle Connector Describes the table and uses the description returned from Oracle to generate the SQL statement. Since Oracle does not report pseudo-columns when describing statements, the Oracle Connector did not use it when generating the statement. Also, when binding by name, 'rowid' and 'rownum' are reserved Oracle words so we cannot use these names when generating bind parameters in the SQL statements.
Problem conclusion
The resolution is to check if we are using an Oracle pseudocolumn 'rowid' or 'rownum' before preparing and binding the statement parameters. If we are using one of these columns, assume that it is in the table. The resolution is to check if we are using an Oracle pseudocolumn 'rowid' or 'rownum' before preparing and binding the statement parameters. If we are using one of these columns, assume that it is in the table. Also, change its bind parameter name to something that is allowed by Oracle.
Temporary fix
Comments
APAR Information
APAR number
JR46051
Reported component name
WIS DATASTAGE
Reported component ID
5724Q36DS
Reported release
870
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-03-19
Closed date
2013-04-08
Last modified date
2013-04-08
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WIS DATASTAGE
Fixed component ID
5724Q36DS
Applicable component levels
R870 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"InfoSphere DataStage"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.7","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
12 October 2021