%N deldat %F $MIR/src/prog/misc/rmdata.for
%P pjt
%: utilities
%B
      SUBROUTINE deldat(fname)
      CHARACTER fname*(*)

  Delete a Miriad dataset:
  For UNIX:      /bin/rm -rf dataset
  For VMS:       rmdir dataset 
                 (assuming this BKY command has been installed)
  Formally 'rmdir' is the wrong approach, since for official
  VMS one has to first change write permission on the directory,
  and then delete all files like "DEL [.file...]*.*;*"
  Someday someone will fix this...
