Description

Displays an error message, typically after an OpenInsight I/O command such as Open, Read, or Write failed. Available in OpenInsight 4.1.2 and later versions.

Syntax

FSMSG (messageid)

Parameters

The FSMSG subroutine has the following parameter.

ParameterDescription
messageidOptional. The text of the system message with the passed @ID. Typically, you do not use this parameter because you want to display the system error message text by calling FSMSG() with no parameter.

See Also

Get_Status()Set_FSError()RevError.DatSet_Status() function

Example

Open 'DUMMY' to dummyfilevar else
   call fsmsg()
   return 0
end
/* If the table 'DUMMY' is not attached, the following system message displays */

From the System Monitor, if you would like to view the text of a system error message (such as 401), enter:

RUN FSMSG 401
  • No labels