Server name

36 views
Skip to first unread message

JOSE LUIS MARTINEZ-AVIAL GONZALEZ-CELA

unread,
Jan 19, 2022, 10:03:19 PMJan 19
to jb...@googlegroups.com
Hello,
In jbase is there a common variable (like @WHO) that returns the server name? I want to create a paragraph that behaves differently if called on one server or another, but I need a simple way of retrieving the server name for that.

Thanks

JL

Sent from my iPhone

Jim Idle

unread,
Jan 20, 2022, 1:57:49 AMJan 20
to jb...@googlegroups.com
Could you not set a variable at startup time that tracks that? 

There is @USER1 that you could assign it to - though I don't remember if that would persist across paragraphs. The command line uname -n will give you the DNS server name. 

But maybe step back and tell us why you think this is what you need to do. What are you actually trying to achieve? Do you definitely need to do this in paragraphs? Etc.

Jim

--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

---
You received this message because you are subscribed to the Google Groups "jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbase+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/6DCB57C2-587A-4F64-85B9-9401DEBBB275%40gmail.com.

KANESOLVE

unread,
Jan 24, 2022, 11:26:43 AMJan 24
to jb...@googlegroups.com
SYSTEM(1019) Return system information (uname -a)

Thanks and Regards
Reply all
Reply to author
Forward
0 new messages