XMSUB |
Input |
The subject of the message. It is placed in the
SUBJECT field (.01) of the message stub.
If it is more than 65 characters, it is truncated to 65 characters.
If it is less than 3 characters, "..." is appended to it.
Leading and trailing blanks are removed.
Any sequence of 3 or more blanks is reduced to 2.
Any control characters are removed.
Any up-arrows ("^") are encoded as "~U~".
It may not pattern match 1"R"1.N, or else the call will fail, and XMZ will be
set to -1.
|
XMDUZ |
Used |
(optional) This is who the message is from. It will
be placed in the FROM field (1) of the message stub. It may be any of the
following:
- If zero, null, or not defined, it defaults to DUZ.
- The DUZ of the person the message is "From". If not the same value as DUZ,
the person indicated by DUZ (the surrogate) will be captured in the SENDER
field (1.1).
- A string from 1 to 70 characters long indicating a ficticious "from", such
as "PACKAGE XYZ". (DUZ will NOT be captured in the SENDER field.)
|
XMZ |
Output |
Message IEN in the Message file 3.9, of the new
message stub.
If the call fails (usually because it can't get a lock on the Message file),
XMZ will be set to -1.
|
DUZ |
Used |
The IEN in the NEW PERSON file (200) of the person
actually creating the message stub. If null or zero or not defined, it
defaults to the Postmaster (.5).
|