Consultor Eletrônico



Kbase 10453: How to find the error from the number in message text VMS
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/9/1999
How to find the error from the number in message text VMS

900418-rgw01If you receive an error message on VMS that contains an error number
in the text, this indicates that the problem originates from the
operating system - progress is just handling the fact that a problem
occured. To find out what the originating error was, you can do the
following:

This is an example of a 290 error on VMS

SYSTEM ERROR: I/O error 99652 in uttfwrt sys$wait, ret 99652, file 1(s
rt)(tty), addr 1467874304. (290)

The ret number is the equivalent of the errno= on other operating
systems, in this case 99652

If you go to the operating system prompt:
$
$ exit 99652
%RMS-F-FUL, device full (insufficient space for allocation)

An alternative way is to use the following lexical function:

$ write sys$output f$message("99652")
%RMS-F-FUL, device full (insufficient space for allocation)

NB. The above message number was returned in decimal. Sometimes its
returned in HEX. For the exit command, you can then try:

$ exit %X99652
(This is invalid in this example)

If you still don't get a valid return, you can convert the HEX value
to decimal by doing the following:

$ a = %X99652
$ sho symbol a
A = 628306 Hex = 0099652 Octal = 00002313122

You can then take the decimal value, in this case 628306, and try the
lexical function command.