Server Name problem

Hi all,

SERVER_NAME field retrieves the servername in the following format:

servername.domainname.com

Is there any similar function/code to get this in notes client.

I am using @servername but it is bringing in hierarchial format. So, I am getting canonical form of the server then appending domain name to it.

Please let me know on this.

–Phani.