- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- lexical function to provide fully qualified domain...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2004 01:18 AM
тАО12-10-2004 01:18 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2004 01:30 AM
тАО12-10-2004 01:30 AM
Re: lexical function to provide fully qualified domain name ?
I can't see anything like this in E8.2
How about using
$ x=f$trnlnm("TCPIP$INET_HOST")+"."+f$trnlnm("TCPIP$INET_DOMAIN")
$ sho sym x
X = "axpvms.invenate.local"
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2004 01:41 AM
тАО12-10-2004 01:41 AM
Re: lexical function to provide fully qualified domain name ?
John,
Just looked at my notes of the TUD. Nothing Guy Peleg said points in that direction.
But couldn't you just translate the logical names TCPIP$INET_HOST and TCPIP$INET_DOMAIN and glue them together?
Greetz,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2004 01:42 AM
тАО12-10-2004 01:42 AM
Re: lexical function to provide fully qualified domain name ?
Speedy is your second name! ;-)
Thanks for the reminder. But it would still be nice to have equivalent Lexical functions that give you the info that gethostbyname and gethostbyaddr do in the context of a program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2004 02:08 AM
тАО12-10-2004 02:08 AM
Re: lexical function to provide fully qualified domain name ?
and the previous entries add up nicely to a friendly request to Guy!
John, your original question was for F$GETSYI to have TCPIP_FULLNAME, as an argument.
On your later entry you name "gethostbyname" and "gethostbyaddr" as the standard functions in higher languages.
I suppose the latter two have some more value than the first, but maybe if one is done, it is not very much more complex to do all?
.. and I would suggest an extension: if a node has multiple addresses (and probably associated names) would it then be possible to set up a context to scan over all values?
(say, in the spirit of F$SEARCH).
Maybe you can leave this thread collect other ideas for about a week, and then mail the URL to Guy?
Proost.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2004 02:25 AM
тАО12-10-2004 02:25 AM
Re: lexical function to provide fully qualified domain name ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2004 05:32 AM
тАО12-10-2004 05:32 AM
Re: lexical function to provide fully qualified domain name ?
yes, and that is why I was suggesting the context-construct!
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2004 06:57 AM
тАО12-12-2004 06:57 AM
Re: lexical function to provide fully qualified domain name ?
But what sources would you include?
- local hosts database
- DNS server
-- how do you deal with round-robin and load balancers?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2004 09:17 PM
тАО12-12-2004 09:17 PM
Re: lexical function to provide fully qualified domain name ?
(just thinking with my keyboard now)
- I guess the context construct by default would scan through ALL.
- by analogy with f$getjpi and f$getqui, the context range could be modified by f$context.
- maybe, as an analogy to f$getjpi(x,"rightslist"), it should also be possible to have ALL values at once in a string (to be able to check any presence). With the new string length limitations that will probably more feasable than at the old limit.
- or, enabling reverse lookup, return False or True for a name-address combination.
---- of course, I would gladly retract these for any better ideas!!
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2004 06:29 PM
тАО12-13-2004 06:29 PM
Re: lexical function to provide fully qualified domain name ?
a lexical function with context like f$getqui may be usefull.
Antonio Vigliotti