Receiving Data

The LRECECB ECB identifies when the session driver has received input data from the workstation. The SCT task posts this ECB when the RECEIVE request, which it issues when establishing the session, completes. When LRECECB is posted, the RECPROC routine receives control.

RECPROC then issues a RECEIVE SPECIFIC macro to process the input data. This data may consist of commands, messages, or files. RECPROC calls the AXSPUT routine or DMTCOMNQ to send the data to its appropriate destination. RECPROC also receives return codes and feedback information from VTAM. It then issues messages, containing this information, to the RSCS console. After processing all input data, RECPROC issues the RESETSR VTAM macro and returns control to SJEGO.