- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Validate Node Name
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
Forums
Discussions
Discussions
Discussions
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
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
03-03-2007 12:28 PM
03-03-2007 12:28 PM
Validate Node Name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2007 09:45 PM
03-03-2007 09:45 PM
Re: Validate Node Name
What do you mean by "Validate"?
Do you mean: Syntactically valid?
Or do you mean: Exists in the node database?
Also, what version of DECnet are you talking about: Phase IV or Phase V?
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2007 02:43 AM
03-04-2007 02:43 AM
Re: Validate Node Name
I'll assume you want to validate the node, and against the contents of the local database.
The DECUS Pageswapper from January 1986 has an article on using the IO$_ACPCONTROL function and the device-level path into DECnet Phase IV, and the documented path is through DECnet Phase IV NICE and there are examples of that approach on recent OpenVMS Freeware releases.
http://mvb.saic.com/freeware/vax85c/ljk/pagswp706.mem
http://h71000.www7.hp.com/freeware/freeware80/hoffman_examples/nice.c
I'll assume you are not looking for a DECnet ping; a test for current network reachability. DECnet doesn't really have a direct ping (though you can do quite well with the non-transparent connect and connect reject message sequence in your own code, or with the mirror or NML servers if configured and accessible), the general DECnet assumption is to just try the connection.
The architecture documentation for DECnet will have the details of the node name syntax, if you really want to go after that yourself. The OpenVMS FAQ has pointers to the DECnet Phase IV docs. The Phase IV architecture documents are on an HP FTP server, and the Phase IV user manuals are on the Freeware V5.0 distro:
http://www.hp.com/go/openvms/freeware/
http://ftp.digital.com/pub/DEC/DECnet/PhaseIV/
http://www.hoffmanlabs.com/vmsfaq/
Stephen Hoffman
Hoffmanlabs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2007 05:37 AM
03-04-2007 05:37 AM
Re: Validate Node Name
Thank you...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2007 08:38 AM
03-04-2007 08:38 AM
Re: Validate Node Name
(I'll assume that other means of storing and/or transferring and/or identifying data have been investigated.)
While you can certainly use either the NICE (documented) or IO$_ACPCONTROL (undocumented) approaches to poke at the DECnet database for the particular node, you'll likely still have to capture outages and errors arising from the COPY or COPY/FTP operation itself. Should you poke at the DECnet database for validity and for connectivity, the node or the circuit can conceivably drop offline between the time you've probed and the COPY or COPY/FTP operation.
There is no more direct API into the DECnet Phase IV database around that I'm aware of.
There's also no callable copy, though the FTSV Freeware has had something similar. (That package is long retired, and not available on OpenVMS I64.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2007 02:57 PM
03-04-2007 02:57 PM
Re: Validate Node Name
Thank you...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2007 08:55 PM
03-04-2007 08:55 PM
Re: Validate Node Name
My apologies for not being able to followup my first posting promptly, I got called into an unscheduled emergency situation.
I will amplify Hoff's comment in light of your clarification.
Not only is the name syntax possibly different in Phase IV and Phase V, but the aa.nnn node number format is also used. I agree with Hoff, let DECnet check the name and report back the result.
There are also a variety of other cases, including:
- username/password not authorized; or other
account usage/validation issues
- protection on the file/directory
If you are attempting to validate what could be extended operations, a small suggestion: Open the file using the transparent remote access facility; read one record from the file; close the file.
This sequence will assure a high likelihood that the file can be accessed and read by the user. It is not a guarantee, however. It is always possible that one of the underlying conditions could change between the check and the actual copy.
For that I would recommend that you ensure that the DCL COPY code that is built deal with the error cases and report the errors.
- Bob Gezelter, http://www.rlgsc.com