RESET
The device reset routine is called when the end of file is reached or when a file is flushed, back-spaced, or forward-spaced. This exit routine places characters, which reset the device to print the next file, into the print line portion of the print line vector. The exit routine then passes control to PRTGO. When PRTGO receives control, it calls the SOCKIO routine to process the buffer or complete the file processing If a message element is enqueued on the TCPASCII-type link, PRTGO passes control to the MSGPROC routine.
MSGPROC calls DMTCOMDQ to remove each enqueued message. If a message processing exit routine has not been specified, the TCPACII-type link does not process the messages. If a message processing routine is supplied, MSGPROC passes the message element to that routine.