The CS-EXTRA-INF property

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:

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.

NoteRequests to Open ServerConnect are sent directly from one transaction processing station to another and do not use Mainframe ClientConnect.