Host variable to receive status information about
the most recent SQL statement
for the specified status field name
Must match data type of the field
Language specific
When retrieving count and overflow information, GET DIAGNOSTICS
can deposit the values of the three statement fields into a corresponding
host variable. The host-variable data type must be the same as that
of the requested field. The following keywords represent these three
fields.
Field Name Keyword
Field Data Type
Field Contents
ESQL/C Host Variable Data Type
MORE
Character
Y or N
char[2]
NUMBER
Integer
1 to 35,000
int
ROW_COUNT
Integer
0 to 999,999,999
int
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.