I have a CL that I am using to monitor system messages and I want to be able to alert our helpdesk with the server name of the issue. Originally I was pulling the System Name value from RTVNETA, but can't do this because we have production and HA failover servers with the same 'system name'. I want to use the TCP Host Name (configured in the CHGTCPDMN command.
Does anyone know of a way to pull that information within a CL?
I appreciate any help.