DBD-DB2

 view release on metacpan or  search on metacpan

dbdimp.h  view on Meta::CPAN

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
   engn/perldb2/dbdimp.h, engn_perldb2, db2_v82fp9, 1.11 04/09/13 17:27:00
 
   Copyright (c) 1995-2004 International Business Machines Corp.
*/
 
/* these are (almost) random values ! */
#define MAX_COL_NAME_LEN 128                                     
 
#include <dbivport.h>
/**
 * Macro for Error Handling. This error handling is followed from
 * CLI Development Guide for v951 - Chapter8 (Diagnostics in CLI Applications)
 * We try to capture 5 types of return codes and print the diagnostic
 * information for the same. The return codes captured are
 *
 * 1. SQL_SUCCESS - Nothing to be done. Sucessful execution of CLI API
 * 2. SQL_SUCCESS_WITH_INFO - This is warning thrown back.
 * 3. SQL_NO_DATA_FOUND - Function success but no data was returned
 * 4. SQL_ERROR - Function failed
 * 5. SQL_INVALID HANDLE - Function failed due to invalid handle
 */



( run in 1.388 second using v1.01-cache-2.11-cpan-cba739cd03b )