
312 Moving Data Across the DB2 Family
B.1.3 Test the connectivity
From SPUFI you can try the following select:
SELECT * FROM SAMPAIX.DB2INST1.DEPARTMENT ORDER BY 1;
If you get a SQL -805 on package DSNESM68 shown in Example B-6, you have to bind it
shown in Example B-7.
Example: B-6 SQL -805 in SPUFI
DSNT408I SQLCODE = -805, SQLSTATE = 51002, INVALID APPLICATION STATE FROM
OS/2 TOKENS DSNESPCS.DSNESM68
Example: B-7 Bind SPUFI cursor stability plan
BIND PACKAGE (SAMPAIX.DSNESPCS) MEMBER(DSNESM68) -
LIB('DB2G7.SDSNDBRM') -
ISOLATION(CS) -
ACTION(REPLACE)
Be aware of the warnings you get in the bind result, see Example B-8: