*     ************************************************************************

      subroutine sxdeja(xstat)

*     ************************************************************************

*     Purpose :
*     ---------

*     This routine modifies the status XSTAT to correspond to the
*     status of a superbasic variable that belongs to one independent
*     superbasic set that needs to be dejoined.

*     The eight bit of the integer XSTAT is set to one.

*     Parameter :
*     -----------

*     xstat   ( int )

*       input  : the status of the considered variable.
*       output : the updated status corresponds to the
*                status of a superbasic variable that
*                belongs to one independent superbasic
*                set that needs to be dejoined.

*     Routines used :
*     ---------------

*     None.

*     Programming :
*     -------------

*     D. Tuyttens

*     ========================================================================

*     Routine parameter

      integer  xstat

*     Internal variable

      integer  aux

      aux = xstat / 128
      if( mod(aux,2).eq.0 ) xstat = xstat + 128

      return
      end