home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / oraperl2.zip / oraperl.ph < prev    next >
Text File  |  1993-07-01  |  703b  |  28 lines

  1. # oraperl.ph
  2. #
  3. # Various defines which may be useful in oraperl programs
  4. #
  5. # Author:    Kevin Stock
  6. # Date:        28th October 1991
  7.  
  8.  
  9. # Oraperl error codes, set in $ora_errno
  10.  
  11. $ORAP_NOMEM    = 100001;    # out of memory
  12. $ORAP_INVCSR    = 100002;    # invalid cursor supplied
  13. $ORAP_INVLDA    = 100003;    # invalid lda supplied
  14. $ORAP_NOSID    = 100004;    # couldn't set ORACLE_SID
  15. $ORAP_BADVAR    = 100005;    # bad colon variable sequence
  16. $ORAP_NUMVARS    = 100006;    # wrong number of colon variables
  17. $ORAP_NODATA    = 100007;    # statement does not return data
  18.  
  19.  
  20. # Oraperl debugging codes for $ora_debug
  21.  
  22. $ODBG_EXEC    =   8;        # program execution
  23. $ODBG_STRNUM    =  32;        # string/numeric conversions
  24. $ODBG_MALLOC    = 128;        # memory allocation/release
  25.  
  26.  
  27. 1;
  28.