XMAPHOST ;ISC-SF/GMB-Print to Message (P-MESSAGE) ;07/29/2003 14:36
Source file <XMAPHOST.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; Entry from pre-open execute of P-MESSAGE entry in DEVICE file.
; If the user chooses to queue the print, we don't want this code ; (the pre-open execute of the DEVICE file entry) to execute when ; the task starts up. |
|
SETUP(XMAPHOST,XMABORT) | ; Entry during close-execute (called from READ^XMAPHOST)
|
|
INIT(XMDUZ,XMAPHOST,XMINSTR,XMABORT) | ;
|
|
GETSUBJ(XMSUBJ,XMAPHOST,XMABORT) | ;
|
|
CHKSUBJ(XMSUBJ) | ;
|
|
FROMWHOM(XMDUZ,XMINSTR,XMABORT) | ;
|
|
ADDRMSG(XMDUZ,XMINSTR,XMABORT) | ;
|
|
READ | ; Entry from close-execute of P-MESSAGE entry in TERMINAL TYPE file.
; Read the host file into a message, send it, erase it. ; Read record from file. ; Each time <CR> is found in record it ends a message line. |
|
GET() | ; Read a record from the file
|
|
PUT(XMZZ,XMREC,XMI) | ; Put data into message.
|
|
EOFERR | ;
|
|
EOF | ;
|
|
SENDMSG(XMDUZ,XMZ,XMINSTR) | ; Here, send the message to recipient.
|
|
CLEANUP | ;
|
|
KSETS | ;
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|