I have seen that I can get the server's host name with $ZUtil(67,12,pid)
As this is a legacy function, is there a better way ?
Thanks
Willem
This used to work in Caché 5, but in Caché 2008 I am getting
>w $SYSTEM.Server.HostName()
W $SYSTEM.Server.HostName()
^
<CLASS DOES NOT EXIST> *%SYSTEM.Server
So it appears that this has become obsolete.
Regards
Willem
"Sukesh Hoogan" <sukesh...@yahoo.co.in> wrote in message
news:h252l7$scq$1...@news.intersystems.com...
> Willem
>
> http://mycomputer:1972/apps/documatic/_CSP.Documatic.cls?PAGE=CLASS&LIBRARY=%25CACHELIB&CLASSNAME=%25SYSTEM.Server
>
> w $SYSTEM.Server.HostName()
>
> w $SYSTEM.Server.IPAddresses(HostName* As %String)
>
> * HostName is optional.
>
>
> Regards
> Sukesh Hoogan
> Bombay, India
> - Enterprise Resource Planning
> - Business Intelligence
> - Financial Accounting
> - Offshore Development
Regards
Willem
"Markus DF" <nospam...@nospamths.nospamco.nospamnz> wrote in message
news:h2bj1u$q1f$1...@news.intersystems.com...
Try
w ##class(%Library.Function).HostName()
This works on cache 2008
w $SYSTEM.Server.HostName()
w $SYSTEM.Server.IPAddresses(HostName* As %String)
* HostName is optional.
Regards
Sukesh Hoogan
Bombay, India
- Enterprise Resource Planning
- Business Intelligence
- Financial Accounting
- Offshore Development
w ##class(%Library.Function).HostName()
This works on cache 2008