Technical data
Customizing the Operating System
5.6 Customizing the Help Message Database
5. When your .OLB file reflects the message section files you want Help Message
to search, copy the final .EXE file from your account to SYS$LIBRARY:.
Example
The following example demonstrates this sequence of events:
1. Link all OpenVMS supplied message section files.
2. Review the resulting .OLB file.
3. Delete the VVIEFMSG module from the .OLB file.
4. Add the file USERS:[TOOLS]NEW_MSGS.EXE to the list in the .OLB file.
5. Review the revised contents of the .OLB file.
6. Copy the final .EXE file from the local account to SYS$LIBRARY:.
Note that the output from the LIBRARY/LIST commands is omitted from the
example.
$ HELP/MESSAGE/SECTION_FILE=*
$ LIBRARY/LIST SYS$LIBRARY:MSGHLP$MESSAGE_SECTIONS.OLB
$ LIBRARY/DELETE=VVIEFMSG SYS$LIBRARY:MSGHLP$MESSAGE_SECTIONS.OLB
$ HELP/MESSAGE/SECTION_FILE=NEW_MSGS.EXE
$ LIBRARY/LIST SYS$LIBRARY:MSGHLP$MESSAGE_SECTIONS.OLB
$ COPY MSGHLP$MESSAGE_SECTIONS.EXE SYS$LIBRARY:MSGHLP$MESSAGE_SECTIONS.EXE
5.6.2 Creating System-Level Database Search Paths
Help Message database files need not reside on the system disk. You can create
system logical names to define one or more Help Message search paths to access
multiple .MSGHLP$DATA files in different locations.
When Help Message is installed, the OpenVMS messages database file is installed
by default at SYS$COMMON:[SYSHLP]MSGHLP$LIBRARY.MSGHLP$DATA.
However, this file can optionally be installed on or moved to another disk. The
alternate location must be pointed to by logical name MSGHLP$LIBRARY. Use
this command to define the logical name:
DEFINE/SYSTEM MSGHLP$LIBRARY disk:[directory]MSGHLP$LIBRARY
By default, Help Message attempts to look up messages in the default location
unless the logical name MSGHLP$LIBRARY is defined. If you do not use
the default database location, include the logical name definition command in
SYS$MANAGER:SYLOGICALS.COM so that the database is defined each time
the system is booted.
Note
If you move MSGHLP$LIBRARY.MSGHLP$DATA to a new location after
installation, be sure to set the proper protections on the file and directory
so that the database cannot be accidentally deleted or modified. The
protections at installation are (RWE, RWE, RE, RE) for the directory and
(RWE, RWE, RWE, RE) for the file.
You and other system users can create additional .MSGHLP$DATA files, as
described in the OpenVMS System Messages: Companion Guide for Help Message
Users. None of the .MSGHLP$DATA files need reside on the system disk.
You can add new files to a systemwide default database search path defined
5–28 Customizing the Operating System










