|
I find that I get the primary key information, but then the
jdbc_freeResult(rs) call blows up. I've got dumps, and I can do
something with them tomorrow morning.
Object domain or storage protection error for offset X'00000000838D0088'
in object JAMESL00 RABBIT 508951.
JVMDUMP006I Processing dump event "gpf", detail "" - please wait.
JVMDUMP032I JVM requested System dump using
'//core.20130213.101133.232001.0001.dmp' in response to an event
IBM Java[232001]: JVMDUMP032I JVM requested System dump using
'//core.20130213.101133.232001.0001.dmp' in response to an event
JVMDUMP010I System dump written to //core.20130213.101133.232001.0001.dmp
JVMDUMP032I JVM requested Snap dump using
'//Snap.20130213.101133.232001.0002.trc' in response to an event
IBM Java[232001]: JVMDUMP032I JVM requested Snap dump using
'//Snap.20130213.101133.232001.0002.trc' in response to an event
JVMDUMP010I Snap dump written to //Snap.20130213.101133.232001.0002.trc
JVMDUMP032I JVM requested Java dump using
'//javacore.20130213.101133.232001.0003.txt' in response to an event
IBM Java[232001]: JVMDUMP032I JVM requested Java dump using
'//javacore.20130213.101133.232001.0003.txt' in response to an event
JVMDUMP010I Java dump written to
//javacore.20130213.101133.232001.0003.txt
JVMDUMP013I Processed dump event "gpf", detail "".
The Java Virtual Machine has ended.
Application error. MCH74A5 unmonitored by QXJ9UTLJVM at statement
0000000016, instruction X'0000'.
P JDBC_ExecQry B export
D JDBC_ExecQry PI like(ResultSet)
D conn like(Connection) const
D sql 32767A varying const options(*varsize)
D stmt s like(Statement)
D temp s like(ResultSet)
D rs s like(ResultSet)
/free
jdbc_begin_object_group(50);
monitor;
stmt = createStatement( conn );
temp = executeQuery( stmt : s(sql));
jdbc_end_object_group(temp: rs);
on-error;
jdbc_end_object_group();
return *NULL;
endmon;
return rs;
/end-free
P E
P JDBC_GetPrimaryKeys...
P B export
D JDBC_GetPrimaryKeys...
D PI like(ResultSet)
D dbmd like(DatabaseMetaData) const
D catalog 32767A varying const options(*varsize)
D schema 32767A varying const options(*varsize)
D table 32767A varying const options(*varsize)
D temp s like(ResultSet)
D rs s like(ResultSet)
D cat s like(jString)
D sch s like(jString)
/free
jdbc_begin_object_group(50);
if (catalog = '*NULL');
cat = *NULL;
else;
cat = s(catalog);
endif;
if (schema = '*NULL');
sch = *NULL;
else;
sch = s(schema);
endif;
monitor;
temp = getPrimaryKeys(dbmd: cat: sch: s(table));
jdbc_end_object_group(temp: rs);
on-error;
jdbc_end_object_group();
return *NULL;
endmon;
return rs;
/end-free
P E
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.