There are two ways to view db2 error code information
There are two ways to view db2 error code messages:
The first one: go to IBM DB2 Infocenter (http://publib.boulder.ibm.com/infocenter/db2luw/v8//index.jsp) to search)
The second: enter: db2? directly under the command line of db2. SQL30081N
[Error Code:-440, SQL State: 42884] DB2 SQL Error: SQLCODE=-440, SQLSTATE=42884
SQLERRMC=MON_GET_DATABASE;FUNCTION, DRIVER=4.15.82. 2)
[Error Code:-727, SQL State: 56098] DB2 SQL Error: SQLCODE=-727, SQLSTATE=56098
Yes, you can, db2? Followed by sql message receiving code