home *** CD-ROM | disk | FTP | other *** search
- COMPRESS
-
- Makes an indexed sequential mail file smaller.
-
- When you compress a file, the following four steps occur:
-
- 1 A temporary file named MAIL_nnnn_COMPRESS.TMP is created.
- (nnnn is a unique, four-digit number.)
-
- 2 The contents (of the file to be compressed) are copied to
- the temporary file and compressed.
-
- 3 The original (uncompressed) file is renamed with a file type of OLD.
-
- 4 The newly compressed file is renamed from MAIL_nnnn_COMPRESS.TMP
-
- back to its original name.
-
- Format: COMPRESS [file-spec]
-
-
- Parameters: file-spec
-
- The name of the mail file to be compressed. If a
- file-spec is not specified, MAIL compresses the
- mail file that is currently. If there is no open
- mail file, MAIL compresses the default mail file.
-
- Qualifiers: /OUTPUT=out-file-spec
-
- The name of the compressed file.
-
- Examples:
-
- 1.
-
- $ MAIL
- MAIL> COMPRESS
- %MAIL-S-CREATED,DISK$FUN:[FELLINI]MAIL_08C8_COMPRESS.TMP;1 created
- %MAIL-S-COPIED, DISK$FUN:[FELLINI]MAIL.MAI;1 copied to
- DISK$FUN:[FELLINI]MAIL_08C8_COMPRESS.TMP;1 (2 records)
- %MAIL-S-RENAMED, DISK$FUN:[FELLINI]MAIL.MAI;1 renamed to
- DISK$FUN:[FELLINI]MAIL.OLD;2
- %MAIL-S-RENAMED, DISK$FUN:[FELLINI]MAIL_08C8_COMPRESS.TMP;1 renamed
- to DISK$FUN:[FELLINI]MAIL.MAI;1
-
- This example shows how to compress the contents of
- your default mail file (MAIL.MAI).
-
- 2.
- MAIL> COMPRESS trips.mai
- %MAIL-S-CREATED,DISK$FUN:[FELLINI]MAIL_08C8_COMPRESS.TMP;1 created
- %MAIL-S-COPIED, DISK$FUN:[FELLINI]TRIPS.MAI;1 copied to
- DISK$FUN:[FELLINI]MAIL_08C8_COMPRESS.TMP;1 (2 records)
- %MAIL-S-RENAMED, DISK$FUN:[FELLINI]TRIPS.MAI;1 renamed to
- DISK$FUN:[FELLINI]TRIPS.OLD;2
- %MAIL-S-RENAMED,DISK$FUN:[FELLINI]MAIL_08C8_COMPRESS.TMP;1 renamed
- to DISK$FUN:[FELLINI]TRIPS.MAI;1
-
- This example shows how to compress the contents of
- a file named TRIPS.MAI.