- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How to find out which message libraries are attach...
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
01-18-2010 02:51 AM
01-18-2010 02:51 AM
How to find out which message libraries are attached to your process?
Recently I was looking into a LPD printing problem, and I found a "%NONAME-E-NOMSG, Message number 0764A072". So I "SET MESSAGE SYS$MESSAGE:TCPIP$MSG.EXE", and the message appeared.
But how can one find out which libraries are "set", and what is "set" by default?
SET MESSAGE or SHOW MESSAGE won't do the trick, maybe look for open (message) files attached to your process? And the defaults are the open message libraries files not attached to a process?
Thnx,
Bob Kortlandt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2010 03:47 AM
01-18-2010 03:47 AM
Re: How to find out which message libraries are attached to your process?
pipe sh dev/fil sys$sysdevice | sea sys$pipe sysmsg
the message files opened by the processes on your system, but I am not sure there is a way to link a process and the "associated" message file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2010 04:34 AM
01-18-2010 04:34 AM
Re: How to find out which message libraries are attached to your process?
This message file is a process permanent process section.
SDA> show proc/proc
and the first section shown should be the message file, if there is any.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2010 02:42 PM
01-18-2010 02:42 PM
Re: How to find out which message libraries are attached to your process?
This is another missing piece of DCL. However, although symmetry would suggest there should be a way to see which message file is currently set, it wouldn't be terribly useful (which is probably why it's never been implemented). As Gerard and Helmut have suggested, there are some round about (and privileged) ways to figure it out. Note that DCL only has ONE message file. SET MESSAGE replaces the existing one with the new one. The default is SYS$MESSAGE:SYSMSG. User mode programs can have as many as resources allow. They can be seen as global sections from SDA or DEBUG.
What IS useful is a mechanism for finding the text of a particular message which interprets as NONAME/NOMSG using whatever message file you're currently attached to.
The usual trick is to walk through SYS$MESSAGE, testing your code against any message files found until you get what looks like a reasonable translation. I've attached my version of MSGTXT.COM. There are lots of other implementations, essentially the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2010 09:31 PM
01-18-2010 09:31 PM
Re: How to find out which message libraries are attached to your process?
One more COM procedure example.
http://wwwvms.mppmu.mpg.de/util_root/com/FIND_MESSAGE.COM
This procedure scans the specified message files trying to translate a VMS status value.
Regards,
Murali