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

      subroutine sxba(xstat)

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

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

*     This routine modifies the status XSTAT to correspond to the
*     status of a basic variable.
*     The basic status supersedes the superbasic and the nonbasic
*     status.

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

*     xstat   ( int )

*       input  : the status of the considered variable.
*       output : the updated status corresponds to the
*                status of a basic variable.

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

*     None.

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

*     D. Tuyttens

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

*     Routine parameter

      integer  xstat

      xstat = xstat - mod(xstat,8)

      return
      end