1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
5 ;;;; Name: db2-constants.lisp
6 ;;;; Purpose: Constants for CLSQL Db2 interface
8 ;;;; This file is part of CLSQL.
10 ;;;; CLSQL users are granted the rights to distribute and use this software
11 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
12 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
13 ;;;; *************************************************************************
15 (in-package #:clsql-db2)
17 (defconstant SQL_NULL_HANDLE nil)
18 (defconstant SQL_HANDLE_ENV 1)
19 (defconstant SQL_HANDLE_DBC 2)
20 (defconstant SQL_HANDLE_STMT 3)
21 (defconstant SQL_NTS -3)
23 (defconstant SQL_ERROR -1)
24 (defconstant SQL_SUCCESS 0)
25 (defconstant SQL_SUCCESS_WITH_INFO 1)