Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Parameters

Qualifiers

Examples

/ALL

/APPEND

/MAIL

/NOHEADER

MAIL EXTRACT — VMS 5.0

  Places a copy of the current message into a sequential file.  If you
  want  to  copy  a mail message to a folder in an indexed sequential
  mail file, use  one of the following commands:

  o  COPY
  o  FILE
  o  MOVE

   Format:

       EXTRACT file-spec

Additional information available:

ParametersQualifiersExamples

Parameters

 file-spec

  Specifies the name of the  output  file  to  which  the  message  is
  copied.  The default file type is TXT.

Qualifiers


Additional information available:

/ALL/APPEND/MAIL/NOHEADER

/ALL

 /ALL

 Copies all the currently selected messages  to  the  specified  file.
  Each message is separated by a form feed.

/APPEND

 /APPEND

 Adds the selected message to the end of the specified file.   If  the
  file  does  not  exist,  it  is  created.   When  you do not specify
  the /APPEND qualifier, MAIL creates a new sequential file.


/MAIL

 /MAIL

 Specifies that the output file be a sequential mail file with a default
  file type of MAI, and a protection code of (S:RW,O:RW,G,W).  By default,
  the device and directory matches those of your mail file directory.
  Like /APPEND, /MAIL adds the selected message to the end of the specified
  file, and creates the file if it does not exist.

/NOHEADER

 /NOHEADER

 Removes the header information (To:  CC:  From:  Subject:) from the extracted
  mail message.

Examples

  1.
       MAIL> DIRECTORY
                                                         MAIL
       #   From    Date             Subject
          .
          .
          .
       5   JOAN    12-MAR-86        Spelling Tests
          .
          .
          .
       MAIL> 5
       MAIL> EXTRACT GRAMMAR
       MAIL> EXIT
       $ DIRECTORY
          .
          .
          .
       GRAMMAR.TXT;1
          .
          .
          .


  This example shows how to place a  copy  of  a  mail  message  in  a
  sequential file named GRAMMAR.TXT.

  2.
       MAIL> EXTRACT/ALL/NOHEADER
       _File: OUTER.DAT
       %MAIL-I-CREATED, DISK$MEGAWORK:[CROWN]OUTER.DAT;1 created

       MAIL>


  This example shows how to place a copy of all the  messages  in  the
  currently  selected  folder into a sequential file called OUTER.DAT.
  The /NOHEADER qualifier prevents the header information  from  being
  copied.

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