home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / usr / sybase / doc / dbisavail.man < prev    next >
Encoding:
Text File  |  1993-04-22  |  1.5 KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89                DBISAVAIL
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  DBISAVAIL
  6.  
  7.   FUNCTION:
  8.        Determine whether a DBPROCESS is available for general use.
  9.  
  10.   SYNTAX:
  11.        DBBOOL DBISAVAIL(dbproc)
  12.  
  13.        DBPROCESS *dbproc;
  14.  
  15.   COMMENTS:
  16.  
  17.        o This routine  indicates  whether  the  specified  DBPROCESS  is
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   DBISAVAIL               Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.          available for general use.  When a DBPROCESS is  first  opened,
  27.          it  is marked as being available, until some use is made of it.
  28.          Many DB-Library routines will automatically set  the  DBPROCESS
  29.          to  "not  available,"  but  only  dbsetavail() will reset it to
  30.          "available." This facility is useful when several  parts  of  a
  31.          program are attempting to share a single DBPROCESS.
  32.  
  33.   PARAMETERS:
  34.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  35.            connection for a particular front-end/SQL Server process.  It
  36.            contains all the information that DB-Library uses  to  manage
  37.            communications and data between the front end and SQL Server.
  38.  
  39.   RETURNS:
  40.        TRUE if the DBPROCESS is available  for  general  use,  otherwise
  41.        FALSE.
  42.  
  43.  
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89                DBISAVAIL
  47.   ______________________________________________________________________
  48.  
  49.   SEE ALSO:
  50.        dbsetavail
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.