SQL/MX 2.x Reference Manual (H06.04+)

MXCI Commands
HP NonStop SQL/MX Reference Manual540440-003
4-26
ERROR Command
ERROR Command
The ERROR command displays the error text associated with an error number.
You can use ERROR only within an MXCI session.
number
is an unsigned integer that identifies the error you want described.
BRIEF
displays the error text associated with the specified number. The ERROR
command returns the same information with or without this keyword.
Examples of ERROR
Display the text of error 1000:
ERROR 1000;
*** SQLSTATE (Err): 42000 SQLSTATE (Warn): 01500
*** ERROR[1000] A syntax error occurred.
ERROR number [,BRIEF]