JagDisallowCommit  JagFree

Chapter 5: C Routines Reference

JagEndResults

Description

Indicate that all rows in a result set have been sent.

Syntax

JagStatus JagEndResults(SQLINTEGER rowCount)

Parameters

rowCount

The number of rows that were sent in the result set.

Returns

Return value

To indicate

JAG_SUCCEED

Success

JAG_FAIL

Failure

Check the server’s log file for more information when JagEndResults fails.

Usage

JagEndResults indicates that all rows in a result set have been sent.

You must call JagEndResults after sending a result set.

See also

JagBindCol, JagDescribeCol, JagSendData

Chapter 25, “Sending Result Sets,” in the EAServer Programmer’s Guide.





Copyright © 2005. Sybase Inc. All rights reserved. JagFree