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.

Return Value

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 (C) 2004. Sybase Inc. All rights reserved.