- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Java on VMS - Retrieving logical names and equ...
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
тАО02-18-2010 09:46 PM
тАО02-18-2010 09:46 PM
Java on VMS - Retrieving logical names and equivalence names programmatically
System.getenv() returns only a few seemingly java related items.
System.getProperties() similarly only returns java related items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 10:00 PM
тАО02-18-2010 10:00 PM
Re: Java on VMS - Retrieving logical names and equivalence names programmatically
the C RTL function getenv() certainly can do
more than that, and I'd expect the Java stuff
to use it. ("HELP CRTL GETENV".) Do you
have a convenient demonstration program?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 11:29 PM
тАО02-18-2010 11:29 PM
Re: Java on VMS - Retrieving logical names and equivalence names programmatically
Welcome to the OpenVMS forum.
See the release notes description of System.getenv():
http://h18012.www1.hp.com/java/documentation/1.5.0/ovms/docs/release_notes.html#usinggetenv
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 05:37 AM
тАО02-19-2010 05:37 AM
Re: Java on VMS - Retrieving logical names and equivalence names programmatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2010 03:53 PM
тАО02-21-2010 03:53 PM
Re: Java on VMS - Retrieving logical names and equivalence names programmatically
It seems that the JVM will only be allowed access to the logicals that I specify in another logical, thus preventing the ability for my app to automatically discover the databases through these means.
Also, it turns out we're running a JVM too old to use JAVA$GETENV_SYSTEM_LIST etc. We're on 1.5.0-3.
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2010 07:50 PM
тАО02-21-2010 07:50 PM
Re: Java on VMS - Retrieving logical names and equivalence names programmatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2010 08:35 PM
тАО02-21-2010 08:35 PM
Re: Java on VMS - Retrieving logical names and equivalence names programmatically
Llewellyn,
This has always been a hole in the OpenVMS logical name services. There's no documented interface to do wildcard searches of logical name tables. The SHOW LOGICAL command can do it, but there's no $TRNLNM mechanism (and hence, no getenv).
You could parse the output of a SHOW LOGICAL, but that gets very ugly :-(