On 7/5/13 6:15 PM, Gary L Peskin wrote:
Are you missing the


after the dsply statement?

Uh, no, at least in theory, the DSPLY statement *is* the call to rs.beforeFirst(), displaying the result. To wit:

beforeFirst() is exposed in the service program thusly:
D b4FirstRec...
D PR 1N ExtProc(*JAVA:
D 'java.sql.ResultSet':
D 'beforeFirst')

and given this wrapper, again in the service program:
P JDBC_B41stRow B export
D JDBC_B41stRow PI 1N
D rs like(ResultSet)
return B4FirstRec(rs);
return *OFF;

which is then called from the test program:
dsply jdbc_b41stRow(rs);

Yet it doesn't appear to work.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.