hi,
if u are connected to a udb for windows database the statement
select current server
from sysibm.sysdummy1;
will return the database u are connected to.
i'm just trying to execute the same statement on db2 for z/os
but the gateway is currently down. result is coming later !!!
regards
marc gaines
Quote:
Originally posted by sathyaram_s
db2 connect
or
db2 get connection state
|