IBM Books

Call Level Interface Guide and Reference


Increasing Transfer Efficiency

The efficiency of transferring of character data between bound application variables and DB2 CLI can be increased if the pcbValue and rgbValue arguments are contiguous in memory. (This allows DB2 CLI to fetch both values with one copy operation.)

For example:

 
    struct {  SQLINTEGER  pcbValue;
              SQLCHAR     rgbValue[MAX_BUFFER];
           } column;


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]