Chapter 5 C Routines Reference


JagBeginResults

Description

Begin the sequence of calls that sends a result set to the client.

Syntax

JagStatus JagBeginResults (
SQLSMALLINT numColumns)

Parameters

numColumns

The number of columns in each row of the result set.

Return Values

Return value

To indicate

JAG_SUCCEED

Success

JAG_FAIL

Failure. Check the server log file for error descriptions.

Usage

JagBeginResults is the first call in the sequence of calls that sends a result set to the client. For a description of the call sequence, see "Sending Result Sets with C or C++" in the Jaguar CTS Programmer's Guide.

See Also

Chapter 12, "Sending Result Sets" in the Jaguar CTS Programmer's Guide

 


Copyright © 2000 Sybase, Inc. All rights reserved.