![HP NonStop SQL/MX Messages Manual Download Page 21](http://html.mh-extra.com/html/hp/nonstop-sql-mx/nonstop-sql-mx_messages-manual_165150021.webp)
HP NonStop SQL/MX Messages Manual — 640324-001
1 -1
1
Message Handling
NonStop SQL/MX reports exception condition messages at the SQL/MX conversational
interface (MXCI) window, in SQL preprocessor and compiler listings, and during the
execution of embedded SQL programs.
You obtain the error messages that result from the execution of an SQL statement
within an embedded program in C or COBOL by using the GET DIAGNOSTICS
statement to access the SQL diagnostics area. For detailed information about
accessing SQL/MX messages in a programmatic environment, see the SQL/MP
Programming Manual for C.
Most SQL/MX exception condition messages describe error conditions for which
recovery action is required. Some messages are warnings that provide information for
which no action is required.
Error messages that appear in response to SQL/MX commands are logged to the
MXCI application's log file if you have used the LOG command to request them.
The format of an SQL/MX error is “*** ERROR” followed by the error number in
brackets, and the descriptive text. Use the error number shown to find information
about a particular error in this manual. For example, information for SQL/MX error 1125
can be found under “SQL 1125.”
Messages and events are listed in this manual in numeric order, broken down by the
component that produced them.
Viewing SQL/MX Messages
The message key is a sequential SQL/MX message number that is returned
automatically by NonStop SQL/MX when an exception condition occurs. For example,
this message might be displayed within your application development tool while you
prepare an embedded SQL program:
*** ERROR[1000] A syntax error occurred.
This message number is the SQLCODE value (without the sign). In this manual, you
will find this message information for ERROR[1000]:
SQL 1000
Cause. You specified a statement with incorrect syntax.
Effect. The SQL/MX statement fails.
Recovery. Correct the syntax and resubmit.
From MXCI, use the ERROR command to:
•
Look up a message by its SQLCODE.
1000 A syntax error occurred.
Summary of Contents for NonStop SQL/MX
Page 4: ......
Page 8: ...Contents HP NonStop SQL MX Messages Manual 640324 001 iv ...
Page 26: ...General Messages 0 through 999 HP NonStop SQL MX Messages Manual 640324 001 2 2 ...
Page 130: ...SQL MX MXCMP Messages 2000 through 2999 HP NonStop SQL MX Messages Manual 640324 001 4 34 ...
Page 242: ...Normalizer Messages 5000 through 5999 HP NonStop SQL MX Messages Manual 640324 001 7 2 ...
Page 246: ...Optimizer Messages 6000 through 6999 HP NonStop SQL MX Messages Manual 640324 001 8 4 ...
Page 248: ...Generator Messages 7000 through 7999 HP NonStop SQL MX Messages Manual 640324 001 9 2 ...
Page 614: ...Utility Messages 20000 through 23099 HP NonStop SQL MX Messages Manual 640324 001 18 138 ...
Page 752: ...Non SQLCODE Error Messages HP NonStop SQL MX Messages Manual 640324 001 A 14 MXGNAMES Utility ...