Defining data format for input pipes

When defining an input data pipe, you must specify the format of the data to be transmitted through the pipe.

WARNING! Always define a CSA input pipe as DB2 format, regardless of the data source targeted.

The DB2 format causes Open ClientConnect to set the address of a SQL Descriptor Area (SQLDA) definition when it returns data to the CSA.

The SQLDA is an IBM-standard data structure that describes the content of the transmitted data records and handles much of the data definition logic. See “Using input pipes: about the CLIENTC2 sample code” for an example of a CSA that reads a SQLDA definition. See Appendix F, “The SQLDA” for more information. In addition, see IBM DB2 SQL Reference for information about the SQLDA.