IBM Support

SQL0805 returned when query DB2 iSeries table in passthru mode

Troubleshooting


Problem

Error SQL0805 is received when selecting a DB2 iseries table in passthru mode from Federation Server.

Symptom

On Federated Server, issue the 'select' to remote iSeries table in passthru mode will show the error.

db2 => CONNECT TO <federated_db_name>

db2 => SET PASSTHRU <iSeries_Server_name>

db2 => SELECT COUNT(*) FROM <mylibrary.myfile>

SQL1822N Unexpected error code "-805" received from data source "<ISERIES_SERVER_NAME>".

Associated text and tokens are " SQL0805N Package "NULLID .SYSSH200" was not found. ". SQLSTATE=560BD

[{"Product":{"code":"SS2K5T","label":"InfoSphere Federation Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Data Sources and Wrappers - DRDA","Platform":[{"code":"PF033","label":"Windows"}],"Version":"9.1;9.5;9.7","Edition":"Developer Edition;All Editions","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
InfoSphere Federation Server

Software version:
9.1, 9.5, 9.7

Operating system(s):
Windows

Document number:
160583

Modified date:
25 April 2025

UID

swg21501065

Manage My Notification Subscriptions