|
I am on release 7.1 and the latest TR.
I had a program that used DDM to read data from a remote IBMi (same
release level). Recent changes have caused a CLOB column to be added to
the table. This renders DDM a problem.
So I thought to use SQL to solve the issue.
<<SNIP>>
// connect to remote machine - tested the connection during one
// of the runs and verified connectivity
exec sql CONNECT TO remote_machine USER :user USING :pwd;
// prepare TESTCursor to retrieve data from remote system
exec sql close TESTCursor;
exec sql declare TESTCursor cursor for select * from needles.TEST;
exec sql open TESTCursor; /* <-- Failure point */
<<SNIP>>
At the point where the cursor TESTCursor is opened, I encounter an
SQL0805 error.
"SQL package TESTPGM99 in LIBRARY not found at DRDA Server."
<<SNIP>>
I've no experience of consciously using SQL Packages before and, in
spite of RTFM, I can't figure this out.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.