Joy Conner
28th August 2014, 21:48
Is there a variable or function to tell me hostname or something to help me write consider on test-host, do this, otherwise do that.

vinceco252
28th August 2014, 22:08
You can try hostname$(). Documentation isn't clear on if it returns the local client or the app server name. I haven't used it myself.

Vince

Joy Conner
28th August 2014, 23:27
Thanks Vince. I tried hostname$() and it did not work. But I did find
get.bw.hostname(hostname). It does work. Just declare hostname as a string and it puts the host name in there.

Appreciate you taking the time to respond.

benito
28th August 2014, 23:36
this works in ln 10.2.1.

You can try hostname$(). Documentation isn't clear on if it returns the local client or the app server name. I haven't used it myself.

Vince

Joy Conner
29th August 2014, 16:54
looks like 10.2.1 is applicable to LN tools. I'm running in Baan IVc4. It's odd because we just upgraded to SP32.