Unanswered: Java Stored Procedure and Server name
I'm trying to get the name of the machine DB2 is running on.
We have a control table for key generation that is "keyed" on the name of the machine.
The special register "CURRENT SERVER" contains the DB name as opposed to the name of the machine.
So, how do I go about getting it ???
I've checked all the SYS* tables and none of them have it.
The global variable (db2set) 'DB2SYSTEM' has the info I need.
But how do I get at it ???
Any help on this would be greatly appriciated.