To truncate a tape after n files do: $ MOUNT/FOREIGN device $ SET MAGTAPE/SKIP=FILE:m device ! where m=3*n $ SET MAGTAPE/END device $ SET MAGTAPE/END device