Format of Messages [ Micro Focus COBOL Error Messages ] MPE/iX 5.0 Documentation
Micro Focus COBOL Error Messages
Format of Messages
DOS, Windows and OS/2 On DOS, Windows and OS/2, your COBOL system
displays run-time system messages in one of the
following two formats:
Run time error number: nnn
or:
[Error accessing file: file-name program-name
segment: ss error nnn at COBOL PC xxxxH [Description:
message-text]
where:
nnn is the error number
file-name is the name of any failing data file. Shown as "?"
if the filename is not known
program-name is the name of the program being executed
ss is the number of the segment being executed (RT for
ROOT)
xxxx is the position of the program counter, in
hexadecimal, and can be related back to the source
program using the REF Compiler directive.
message-text is the error message
In the second format, the first optional line is output only if the error
occurred during COBOL I/O. The second optional line is output only if the
file rts.err is available in an open library.
UNIX On UNIX, your COBOL system displays run-time system messages
in one of the following two formats:
action error: file 'file-name'
error-code:yyy, pc=xxxxxxxx, call=m, seg=ss
nnn message-text
or:
rts32: message
where:
action is what the run-time system was actioning at
the time of the error. For example,
execution, I/O, load or write.
file-name is the name of the file on which the run-time
system was operating
yyy is either the run-time system error number
or, if the error is caused by an I/O
operation, the file status value. If the
latter, the file status mappings currently on
force are also displayed.
xxxxxxxx is the position of the program counter, in
hexadecimal, and can be related back to the
source program using the REF Compiler
directive.
m is a number used internally to identify the
program in error. Zero indicates the main
program, nonzero a subprogram.
ss is the number of the segment being executed
(0 for ROOT)
nnn is the error number
message-text is the error message
message is one of:
Not enough room for message
Fatal error while attempting to process
error yyy
MPE/iX 5.0 Documentation