Zum Hauptinhalt springen

II. Verwendung von MARS - C. Nachrichten abrufen

Abrufe werden durch das Senden einer Abfrageanforderung (Retrieval Request, eine speziell formatierte Nachricht) an „MARS-Retriever@CCA“ ausgelöst. Abgerufene Nachrichten werden einzeln zurückgeschickt und erscheinen als neue Post im Postfach des Anfragenden.

Retrieval-Request-Nachrichten lassen sich mit jedem Programm vom Typ SNDMSG wie folgt verfassen:

  • Der Empfänger der RR-Nachricht muss MARS-Retriever @ CCA sein
  • Andere Kopffelder der Nachricht werden vorerst ignoriert
  • Der Nachrichtentext der RR wird verwendet, um Datalanguage für die Durchführung des Abrufs zu erstellen. Sein Format ähnelt einem Nachrichtenkopf oder ausgewählten Teilen davon.

Die folgende Liste definiert, welche Feldnamen erkannt werden, und enthält einige Hinweise zu ihrer Auslegung. Das Einlesen jedes Feldes wird durch einen Wagenrücklauf (carriage-return) beendet.

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.

Ein interaktives, auf TENEX basierendes Programm zum Verfassen von RRs ist verfügbar; der Dateiname lautet „RR.SAV“. Eine Kopie dieses Programms ist auf dem Datacomputer gespeichert und über DFTP unter dem Knoten COMMON>MARS erhältlich.

Eine weitere Kopie des Programms befindet sich im CCA-Verzeichnis bei SRI-KA und eine andere im Verzeichnis CCA-ACCAT bei ISIA.