Something like
select current server as server from sysibm.sysdummy1
Thanks.
SELECT HOST_NAME FROM TABLE(SYSPROC.ENV_GET_SYS_INFO()) T
Sincerely,
Mark B.
Thanks. It gives me the hostname, Is there a way to retrieve domain as
well ?
Against z/OS it gives
SQL0104N An unexpected token "<EMPTY>" was found following "".
Expected
tokens may include: "CORRELATION NAME". SQLSTATE=42601