
switch(`uname`)
   case SunOS:
      setenv SAS_DIR /software/XMM/solaris/current
      breaksw
   case Linux:
      setenv SAS_DIR /software/XMM/linux/current
      breaksw
   case OSF1:
      setenv SAS_DIR /software/XMM/osf1/xmmsas_20020413_2031
      breaksw
   default:
      echo "Unsupported operating system"
      breaksw
endsw
source $SAS_DIR/sas-setup.csh
setenv SAS_CCF /software/XMM/ccf.cif
setenv SAS_CCFPATH /software/XMM/CCF
setenv SAS_SUPPRESS_WARNINGS 1
setenv SAS_VERBOSITY 1

echo "Set up for SAS operations..."
echo "For some tools you will need to set SAS_ODF to the observation directory"
