Skip to main content

II. Using MARS - C. To Retrieve Messages

Retrievals are initiated by sending a Retrieval Request (which is a specially formatted message) to "MARS-Retriever@CCA". Retrieved messages are mailed back, one at a time, and will appear as new mail in the requester's mailbox.

Retrieval Request messages can be composed using any SNDMSG-type of program, as follows:

  • The recipient of the RR message must be MARS-Retriever @ CCA
  • Other message header fields are ignored for now
  • The message body portion of the RR is used to compose Datalanguage for performing the retrieval. Its format resembles a message header, or selected portions thereof.

The following list defines which field names are recognized, and some notes on their interpretation. The scanning of each field is terminated by a carriage-return.

DATE:     The format of the date field is day-month-year.  Use of
hyphens is optional. This field will cause only those
messages composed on the specified date to be retrieved.

AFTER: Use of this field will retrieve messages composed after
the specified date.

SINCE: This field is interpreted like the AFTER: field.

BEFORE: Use of this field will retrieve messages composed before
the specified date.

UNTIL: This field is interpreted like the BEFORE: field.

FROM: This field is expected to contain a valid mailbox name.
The host specification is optional. If more than one name
is specified, ORing of the names is implicit.
Retrieval based upon host specification alone has not been
implemented.

TO: This field is expected to contain one or more valid
mailbox names. The host specification is optional. Spaces
and commas between the names imply AND.

SUBJECT: Use of this field will retrieve all messages whose
indexed subject-field contents match the specified
word(s). Spaces and commas imply AND. The use of OR
must be explicit.

TEXT: Use of this field will retrieve all messages whose
indexed message-body contents match the specified
word(s). Spaces and commas imply AND. The use of OR
must be explicit.

An interactive TENEX-based program for composing RRs is available; the filename is "RR.SAV". A copy of this program is stored on the Datacomputer, available via DFTP under node COMMON>MARS.

There is also a copy of the program in CCA's directory at SRI-KA; another in the CCA-ACCAT directory at ISIA.