Skip to content

65B ErrorMessage

Stub   MON 65B (53 decimal) · Mnemonic QERMS · Group: Input and Output Monitor Calls (manual section 2.5)

Available from: All programs (manual compatibility box)

Emulation source: src/handlers/mon_65B_ErrorMessage.c

Description

Displays a file system error message. Appendix A shows the messages connected to each error number. The error number is input. The program terminates.

  • The error message is displayed on the terminal. RT programs write it to the error device. The error device is normally the console.
  • Do not input error number 0.

Parameters

Name Type Direction Description
ErrNumber INTEGER In Error number of message to display. Do not input error number 0.

Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.

See also

GetErrorMessage, WarningMessage. WarningMessage writes out the error message without terminating the program

Compatibility

Machines Users Programs
ND-100 and ND-500 All users All programs

The manual's compatibility box for this call, word for word.

Yes/no fields from the YAML extraction (not in the manual's words):

ND-100 ND-500 User programs RT programs System programs
Yes Yes No No No

Examples

From the manual (OCR text, not corrected).

INTEGER : ErrNumber
...
Monitor_Call('ErrorMessage', ErrNumber)
INTEGER ErrNumber
...
Monitor_Call('ErrorMessage', ErrNumber)
ErrNumber : INTEGER2;
...
ErrorMessage(ErrNumber);
01 ErrNumber COMP.
...
MONITOR-CALL "ErrorMessage" USING ErrNumber.
ErrNumber : W BLOCK 1
ErrorMessage : EQU 37B9 + 65B
...
CALLG ErrorMessage, 1, ErrNumber
IF K GO Error
...
Error, ...
LDA ERRNO     %Error number of message to be printed.
MON 65        %Monitor call ErrorMessage.
...
ERRNO, ...

ndmonlib implementation

Stub Registered MON_STATUS_NOT_IMPLEMENTED: the handler is a stub. mon_dispatch() in src/core/mon_dispatch.c reports the call as unimplemented without calling it.

Handler mon_65B_ErrorMessage
Code lines 6 (non-blank, non-comment lines in the file)

Source

SINTRAN III Monitor Calls (ND-860228.2 EN), page 171.