home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
oraperl2.zip
/
oraperl.ph
< prev
next >
Wrap
Text File
|
1993-07-01
|
703b
|
28 lines
# oraperl.ph
#
# Various defines which may be useful in oraperl programs
#
# Author: Kevin Stock
# Date: 28th October 1991
# Oraperl error codes, set in $ora_errno
$ORAP_NOMEM = 100001; # out of memory
$ORAP_INVCSR = 100002; # invalid cursor supplied
$ORAP_INVLDA = 100003; # invalid lda supplied
$ORAP_NOSID = 100004; # couldn't set ORACLE_SID
$ORAP_BADVAR = 100005; # bad colon variable sequence
$ORAP_NUMVARS = 100006; # wrong number of colon variables
$ORAP_NODATA = 100007; # statement does not return data
# Oraperl debugging codes for $ora_debug
$ODBG_EXEC = 8; # program execution
$ODBG_STRNUM = 32; # string/numeric conversions
$ODBG_MALLOC = 128; # memory allocation/release
1;