- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: 31 character module name limit?
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
тАО03-16-2005 12:52 PM
тАО03-16-2005 12:52 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2005 02:16 PM
тАО03-16-2005 02:16 PM
Re: 31 character module name limit?
I don't think there are any plans to increase the module name limit. I'm curious why the *MODULE* name limit matters as it's largely an OpenVMS construct of interest only to the librarian, linker and DEBUG.
I thought C++ solved the problem of unlimited symbol length by "mangling" names? If not, /NAMES=SHORTENED should generate unique names in a transparent and consistent manner.
That said, if you have a business need for increased symbol lengths, please log a case against your service contract and ask to have the issue elevated into engineering.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2005 09:27 PM
тАО03-16-2005 09:27 PM
Re: 31 character module name limit?
This is a wish that is shared by a lot of, if not all developers - for years already. I can live with the limitation (gives me enough room for distictive, sensable names) but that may not be valid for all systems - would be great if this limitation was FINALLY lifted....
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2005 01:40 AM
тАО03-17-2005 01:40 AM
Re: 31 character module name limit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2005 06:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2005 07:25 PM
тАО03-17-2005 07:25 PM
Re: 31 character module name limit?
Guy,
As Phil said
We are porting software from another platform...
There is more to it than just lifting the length limit on module names, even if you say that
OpenVMS on Itanium allows modules names up to 1024 characters.
AFAIK, the C compiler by default will truncate definitions & references of external symbols to 31 characters. Furthermore, if you specify preservation of case (/NAMES=AS_IS) then e.g. MMS gets confused, especially when you put "lowercase" modules in libraries.
An excerpt of the log file of the first build of Jam 2.4 should give some clarification.
(see also http://www.quadratrix.be/products/open_source_material.html )
> set default OPENSOURCE$ROOT:[JAM.JAM-2_4]
> cc /prefix=all/name=(as_is)/warn/reent=multi /define=("QPORT=1,VMS=1") /include=(OPENSOURCE$ROOT:[JAM.JAM-2_4],OPENSOURCE$ROOT:[JAM.JAM-2_4.CONTRIB.Q]) /object=OPENSOURCE$ROOT:[JAM.JAM-2_4.CONTRIB.Q.IA64.OBJ]hash.obj OPENSOURCE$ROOT:[JAM.JAM-2_4]hash.c
> if f$search("OPENSOURCE$ROOT:[JAM.JAM-2_4.CONTRIB.Q.IA64.LIBlibjam.olb") .eqs. "" then library/create/object OPENSOURCE$ROOT:[JAM.JAM-2_4.CONTRIB.Q.IA64.LIB]libjam.olb
> library/replace/object OPENSOURCE$ROOT:[JAM.JAM-2_4.CONTRIB.Q.IA64.LIB]libjam.olb OPENSOURCE$ROOT:[JAM.JAM-2_4.CONTRIB.Q.IA64.OBJ]hash.obj
%MMS-W-GWKACTNOUPD, Actions didn't update OPENSOURCE$ROOT:[JAM.JAM-2_4.CONTRIB.Q.IA64.LIB]LIBJAM.OLB(HASH=HASH.OBJ)
So, what I'm trying to say is that, when porting to VMS, naming conventions from other platforms (e.g. U**x) can play tricks on you.
Just my 2 cents,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2005 07:30 PM
тАО03-17-2005 07:30 PM
Re: 31 character module name limit?
OpenVMS (on Itanium) uses industry standard format for images and debug information
(aka ELF/DWARF)
All the compilers and tools (should be) aware of it.
Linux on Itanium uses the same standards...
so if it worked on Linux it *should* work
on VMS on Itanium....
Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2005 03:58 AM
тАО03-18-2005 03:58 AM
Re: 31 character module name limit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2005 04:05 AM
тАО03-18-2005 04:05 AM
Re: 31 character module name limit?
has a bug and will not allow module
names with more than 31 characters. If you
are using the librarian, file a call with
your local support center to get the
fixed librarian.
Guy