DMTRDREP

The DMTRDREP routine reads records from input spool files.

Parameter Reg Function
Input Parameter R1 Address of RDR area, containing the following fields:
RDRTAG
Address of file's TAG element
RDRFIOA
Address of the input file I/O area
RDRLINK
LINKTABL address
RDRDREA
Address of area to contain input record
RDRMAX
Maximum logical record length (non-NJE links)
RDRIFLG
One of the following values:
X'04'
Work station input
X'02'
3211-type FCB input
Output Parameter R15 Return code:
0
Normal processing completed; fields set as follows:
RDRAREA
Address of returned logical record
RDRLRECL
Logical record length
RDRCCWOP
CCW opcode for this record
RDROFLG
One of the following values:
X'02'
Data found.
X'01'
CCW is an immediate command.
X'04'
Alternate input area in use.
4
End of file reached.