$FUNCNAME$
  DBUNLOCKALL()
$CATEGORY$
  DATABASE
$SUMMARY$
   Release all locks for all work areas
$LANG_RU$
         .
$SYNTAX$
     DBUNLOCKALL() --> NIL
$LANG_RU$
     DBUNLOCKALL() --> NIL
$RETURNS$
     DBUNLOCKALL() always returns NIL.
$LANG_RU$
     DBUNLOCKALL()   NIL.
$DESCRIPTION$
     DBUNLOCKALL() releases any record or file locks obtained by the current
     process for any work area.  DBUNLOCKALL() is only meaningful on a shared
     database in a network environment.  It is equivalent to calling
     DBUNLOCK() on every occupied work area.

     DBUNLOCKALL() performs the same function as the UNLOCK ALL command.  For
     more information, refer to the UNLOCK ALL command.
$LANG_RU$
     DBUNLOCKALL()       ,
           .
     DBUNLOCKALL()     ,  
         .  
     DBUNLOCKALL()     DBUNLOCK()  
      .

     DBUNLOCKALL()    ,    
     UNLOCK ALL.        UNLOCK
     ALL.
$EXAMPLES$
       The following example marks a record for deletion if an
	RLOCK() attempt is successful, then clears all locks in all work
	areas:

	cLast := "Winston"
	USE Sales SHARED NEW VIA "DBFNTX"
	DBSETINDEX( "SALEFNAM" )
	DBSETINDEX( "SALELNAM" )
	//
	USE Colls SHARED NEW VIA "DBFNTX"
	DBSETINDEX( "COLLFNAM" )
	DBSETINDEX( "COLLLNAM" )
	//
	DBSELECTAREA( "Sales" )      // select "Sales" work area
	//
	IF ( Colls->(DBSEEK(cLast)) )
	   IF Colls->( DELETED() )
	      ? "Record deleted: ", Colls->( DELETED() )

	      IF Colls->( RLOCK() )
		 Colls->( DBRECALL() )
		 ? "Record recalled..."
	      ENDIF
	   ENDIF
	ELSE
	   ? "Not found"
	   DBUNLOCKALL()            // remove all locks in
	ENDIF                        // all work areas
$SEEALSO$
  DBUNLOCK(),FLOCK(),RLOCK()
$END$
