Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Parameters

Qualifiers

Examples

/LOG

/SYSTEM

/VOLUME_FORMAT

EXCHANGE DELETE — VMS 5.1-B

 Deletes one or  more  files  from  a  foreign  block-addressable  mass
 storage volume.  EXCHANGE does not delete files from Files-11 volumes.

 Format
           EXCHANGE>  DELETE   file-spec[,...]

 Prompt
           Filename(s):  file-spec[,...]

Additional information available:

ParametersQualifiersExamples

Parameters

 file-spec[,...]

      Specifies the names of one or more files to be deleted.  You  can
      specify  wild  card  characters  in any of the file specification
      fields.

      To delete more than one file, separate  the  file  specifications
      with commas (,) or plus signs (+).

      RT-11 recognizes two file extensions (types)  as  having  special
      significance,  and EXCHANGE mimics the special actions that RT-11
      takes with respect to these files.  The first  of  these  specail
      files  is  a  file with an extension of ".SYS".  EXCHANGE> DELETE
      does not delete a file with  an  extension  of  .SYS  unless  the
      /SYSTEM  qualifier  is present.  EXCHANGE will print a message if
      one or more .SYS files are passed over during a delete operation.

      The second special file type is ".BAD".  EXCHANGE does not delete
      .BAD  files if the file specification contains wildcards.  A .BAD
      file may be deleted by explicitly specifying its name.   EXCHANGE
      does not warn that .BAD files have not been deleted.

Qualifiers

Additional information available:

/LOG/SYSTEM/VOLUME_FORMAT

/LOG

 /LOG
 /NOLOG

      Controls whether the EXCHANGE DELETE command  displays  the  file
      specification of each file after its deletion.

      By default, the DELETE command does  not  display  the  names  of
      files after it deletes them.

/SYSTEM

 /SYSTEM
 /NOSYSTEM

      Controls whether the EXCHANGE DELETE command deletes files  which
      have a file extension of ".SYS".  These files are typically files
      which are necessary for the operation of an RT-11  system.   Only
      RT-11 volumes treat .SYS files in this special manner.

      By default, the DELETE command will not delete an RT-11 file with
      a  .SYS  extension,  whether  it is matched by a wildcard spec or
      explicitly named.  EXCHANGE will  print  a  message  whenever  it
      skips over a .SYS file during a delete operation.

      EXCHANGE also treats files with ".BAD" extensions as special, but
      the /SYSTEM qualifier does not affect the operations against .BAD
      files.  To delete a .BAD file, specify the  filename  explicitly,
      rather  than  using  wildcards.  EXCHANGE does not warn that .BAD
      files are being skipped.

/VOLUME_FORMAT

 /VOLUME_FORMAT=option

      The /VOLUME_FORMAT qualifier defines the physical format  of  the
      volume  to  be  processed.   RT-11 volumes are currently the only
      volumes on which DELETE is supported.   See  section  6.0  for  a
      complete  description  of  the  /VOLUME_FORMAT  qualifier and the
      defaults.

Examples

      1.  EXCHANGE>  DELETE   DMA0:COMMON.SUM

          The DELETE command deletes the file COMMON.SUM from  the
          RT-11 device DMA0:.

      2.  EXCHANGE>  DELETE   DXA0:*.OLD/LOG

          The DELETE command attempts to  delete  all  files  with
          file  types  of  OLD from the floppy diskette.  EXCHANGE
          will log the name of each file deleted.

      3.  EXCHANGE>  MOUNT /VIRTUAL  TEST:  TEST.DSK
          EXCHANGE>  DELETE  TEST:ALPHA.TXT,BETA.TXT

          The DELETE  command  deletes  the  files  ALPHA.TXT  and
          BETA.TXT from the virtual-device file TEST.DSK.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026