The TDSNDMSG function uses the following parameters to return error information:
MESSAGE_TYPE - Indicates whether the message is an informational or an error message.
MESSAGE_NUMBER - The number that identifies the message.
SEVERITY - The severity level of the error. These levels correspond to the following SQL Server severity levels:
01 - 10 Status information 11 - 16 Client application errors 17 - 18 Non-fatal software or hardware errors 19 - 24 Fatal system errors
ERROR_STATE - Provides additional information about the context of the error for Sybase Technical Support.
LINE_ID - Identifies the line number or area of the client program where the error was detected.
TRANSACTION_NAME - The name of the currently executing transaction.
TRANSACTION_NAME_LENGTH - The length of the TRANSACTION_NAME parameter.
MESSAGE_TEXT - The text of the message.
MESSAGE_LENGTH - The length of the MESSAGE_TEXT parameter.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |