Using input pipes: about the CLIENTC2 sample code

The CLIENTC2 sample CSA issues a request and receives results from an Adaptive Server Enterprise database table. It illustrates:

CLIENTC2 uses a DB2 input pipe and a SQLDA definition to receive results from a remote server (in this case, Adaptive Server Enterprise). The SQLDA definition provides data structure information that is sent with the data to the CSA.