Print Page as PDF
XMAPHOST User Interactions ICR (4036)

XMAPHOST User Interactions    ICR (4036)

Name Value
NUMBER 4036
IA # 4036
DATE CREATED 2003/03/25
CUSTODIAL PACKAGE MAILMAN
CUSTODIAL ISC San Francisco
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE XMAPHOST
NAME XMAPHOST User Interactions
GENERAL DESCRIPTION
Kernel requests an IA to use entry points in routine
XMAPHOST to be called by routine ZISPL, which converts spool documents to mail
messages.
STATUS Active
DURATION Till Otherwise Agreed
ID XMAPHOST
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
FROMWHOM
This entry point asks the user whether the resulting
message should be from the user himself, or from the postmaster.  If the
message is from the user himself, then the resulting message will not appear
new when delivered.  If the message is from the postmaster, then it will.

Usage:  D FROMWHOM^XMAPHOST(DUZ,.XMINSTR,.XMABORT)
VARIABLES TYPE VARIABLES DESCRIPTION
DUZ Input
The DUZ of the user.
XMINSTR Output
If the user wants the message to be from the
postmaster, then XMINSTR("FROM") will be set to .5; otherwise, nothing will be
set.
XMABORT Both
The calling program will set XMABORT=0.  If, inside
the called routine, the user enters up-arrow, then XMABORT will be set to 1 to
indicate that the user chose to abort the process.
SENDMSG
This entry point takes the special instructions in
XMINSTR and uses them to set related fields within the message that is being
created.

This entry point also tells the user that the message is being sent, and then
sends it.

Usage:  D SENDMSG^XMAPHOST(DUZ,XMZ,.XMINSTR)
VARIABLES TYPE VARIABLES DESCRIPTION
DUZ Input
The DUZ of the user sending the message.
XMZ Input
The message number of the message.
XMINSTR Input
Special instructions for the message, such as who the
message is to appear to be from, and what basket the user wants the message to
be delivered to in his own mailbox.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
KERNEL Oakland