DMKCNSIC -- Entry from DMKQCN module. Build I/O CCi string as defined by the
console device type. Also select the proper line code to interface
with the device. Place in CONTASK. For output CONTASK determine the
correct translation table applicable to terminal communications (DMKTBL). To append proper control character to the data stream for
the particular device type, refer to the following labels: !NCiT!! Te1etypewri ters DMKCNS, INC2741 2741;-3761--- DMKCNS, INC1050 1050;-1051 --- INC321Q. 3210, 3215 Attempt to start I/O by halting the current operation, if the
operation is a "prepare" CCW or the input is a read and the
forthcoming output is a priority write CONTASK. DMKFREE ---aet-storage to build IOBLOK, if needed. Rl1KCNS!! Set return address in IOBIRA. Start I/O. If busy condition encountered build CPEXBLOK and queue for
1a ter exec uti on. DMKDSPCH dispatcher. C!BREAK For an actIve-input task halted, RDEVFLAG=RDEVHIO to process priority output task. DMKFREE ---SuIId CONTASK for reverse break CCWs. Move the input CONTASK following the last priority write output CONTASK on the chain. For unit check with intervention required, assume an attention
interruption and build a "prepare" CCi for the 2741 CN SL Q5iI For unit check and timeout condition -logoff the virtual machine and
re- enable the line. DMKCNS, CNSRTRY ---Per dati-check and other conditions, retry the previous operation. Process co.pleted output CONT1SK. DMKCNSIN ---rnterpret interruption status and CCW residual count for input CONTASK completion. CNI!£! Validate input data and control characters and translate to EBCDIC froll line code. DMKTRMID to identify, if applicable, the line code identification;
PTTC/EBCD or correspondence.
CP Method of Operation and Program Organization 1-197
DMKCNSED perform line editing of the input buffer. Prepare and issue control CCWs to request status infor.ation fro. the
terminal. For control task interruption return, examine the interruption status
according to control task function: Reset control task. DMKCNS, CNSCTID Device identifIcation. Attention signal. 12MKCNS, CNSCTPR Write "VM/370 Online" interpretation of response deter.ines retry, or
build new CONTASK and execute or stack or process next CONTISK. Process completed CONTASK requests. If no tasks re.ain for the
terminal, set IOBLOK's IOBIRA to DMKCNSIN and link the IOBLOK to the
user. DMKDSPCH -- Exit-to dispatcher. CONSOLE SCHEDULING RMKQ£!!RR SVC entry to build CONTASK for input data. Set the input buffer to
zeros. DMKFREE ----Get-storage to build CONTASK. Stack CONTISK on RDEVBLOK, if RDEVCON was zero. If not, exit to the
appropriate interrupt handler per RDEVTYPC and RDEVTYPE or - DMKSPCH Exit to dispatcher. RMKQCN!! SVC entry to build CONTASK for output data. Strip trailing blanks
from output message, .odify byte count and determine real device
destination. DMKFREE -- Get-storage to build output CONTASK. 12MKQCN, Update CONTASK CCW message byte count for the message text, terminal
and line control information and (if appropriate) ti.e sta.p. DMKCVTDT stamp required, get the value for CONDATA area. DMKVSPVP ----Spool console .essage, if VDEVFLAG=VDEVCSPL. 12l1!2£!!, If message data contains carriage returns, X'15', create a separate CONTASK for each line. W On first CONTASK or priority CONTASK, enqueue on chain fro. RDEVBLOK in appropriate location, then call related interrupt handler.
1-198 IBM V"/370 System Logic and Problem Deter.ination--Volume 1
Previous Page Next Page