| :Providing a message, say %LOGIN-F-CMDINPUT, how can I find the status
:code for it?
As cw indicates, one can usually SEARCH through the message include files
(DECC$LIBRARY_INCLUDE:*.H, SYS$LIBRARY:*.REQ, etc) for `public' message
constants.
For private applications, one can use various tools that scan the external
message file for the messages -- there are command procedures around that
can do this. (I tend to use the LINKER to link against the files, and
I pull all the definitions out of the file and into a LINKER map. Ugly,
but it works.)
With access to the OpenVMS source code listings -- see note 8.* or 9.*
for how to contact SSB and order the source listings CD-ROMs -- one can
SEARCH the facility directly.
With access to the source listings (or -- as shown below -- an OpenVMS
`results disk'), one can use something like the following technique:
$ sear v71_resd$:[LOGIN.LIS]*.map CMDINPUT
******************************
X6NO_RESD$:[LOGIN.LIS]LOGINOUT.MAP;1
LGI$_CMDINPUT 00D38064 LGI$MSGDEF FILEIO
00D38064 LGI$_CMDINPUT
$ analyz/image sys$system:loginout/out=x.x
$ sear x.x message
indirect message section filename: CLIUTLMSG
indirect message section filename: PLIMSG
indirect message section filename: PLIMSG
indirect message section filename: PLIMSG
$ set mess sys$message:CLIUTLMSG
$ x=f$mess(%x00D38064)
$ sho sym x
X = "%LOGIN-F-CMDINPUT, error reading command input"
$
|