Chapter 15: SQL Error Messages

This chapter describes the SQL Error Messages tool which displays the text associated with an SQL error code in a similar way to the DSNTIAR utility.

15.1 SQL Error Message Tool

You can use this tool to look up text associated with any SQLCODE. In addition, this tool is invoked if you encounter an SQL error using any of the HCO tools. For example, if you haven't started DB2 and get a SQLCODE of -1032, you see the SQL Error Message tool.

The SQL Error Message tool (see Figure 15-1) appears when you click HCO > SQL Error Message on the Tools menu.



Figure 15-1: SQL Error Message Tool Window

The following elements make up the SQL Error Message window:

15.2 Displaying an Error Message

To display text that goes with a SQLCODE, do the following:

  1. Enter SQLCODE that you want message for in SQLCODE entry field

  2. Click on the Display button

Copyright © 2001 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.