The CS-EXTRA-INF property is used by an application to determine the number of rows affected by the most recent command. If you want this extra information, you must set this property before you call the function.
An application can determine the number of rows in two ways:
An application that is retrieving messages into a SQLCA or SQLCODE structure must set the property CS-EXTRA-INF to CS-TRUE, using CTBCONPROPS. This is necessary because the SQLCA structure needs to know the number of rows affected (information that functions do not customarily return). If CS-EXTRA-INF is not set, a loss of information occurs.
An application that is not using SQLCA or SQLCODE can also set CS-EXTRA-INF to CS-TRUE. In this case, the extra information is returned as standard Client-Library messages.
For further information on the use of the SQLCA and SQLCODE structures in Open ClientConnect, turn to “SQLCA structure” and “SQLCODE structure”.
For three-tier processing, requests directed to a Adaptive Server or an Open Server application are sent to Mainframe ClientConnect (MCC), supplied with the Sybase DirectConnect product.
For two-tier processing, requests are sent directly to an Adaptive Server.
MCC allows mainframe transactions to access the LAN-based environment in which Sybase servers operate. It logs into the target server, passing along login information, does the necessary conversions, and forwards the request. When results are ready, it passes them from the server to the client, again performing any necessary conversions.
MCC is transparent to the mainframe application. You specify the name of the server in the SERVERNAME parameter of the CTBCONNECT call, and the MCC forwards the request to the specified server.
To learn how CICS or IMS TM determines the MCC and connections to use to connect to the target server, see the Mainframe Connect Server Option Installation and Administration Guide. The client program is not concerned with these details.
Requests to Open ServerConnect are sent
directly from one transaction processing station to another and
do not use Mainframe ClientConnect.