13.07.2015 Views

IBM 5280 Distributed Data System - Index of

IBM 5280 Distributed Data System - Index of

IBM 5280 Distributed Data System - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Read a Record from a <strong>Data</strong> Set (READ)RnBRnSource: READ +, [~}0~Object: 2000 fJ II II0 Bits:891011o = Sequential record access method1 = Relative record or key access methods0= Overlap mode (0 specified)1 = Nonoverlap mode (N specified)Not used, always zeroNot used, always zer<strong>of</strong>J <strong>Data</strong> set number: The number (hex 1-F) <strong>of</strong> the data set to be read.II Format number: The number (hex 01-FE) <strong>of</strong> the format to use. If no formatnumber is specified, this is hex FF. For a data directed read, this is hex00.II Record to read: The current record number in the lOB is set to the recordnumber that is to be read. The location <strong>of</strong> the record to be read can be:• Rn for the address <strong>of</strong> the decimal register that contains the key to therecord .• BRn for the address <strong>of</strong> the binary register that contains the relative recordnumber <strong>of</strong> the record.• Hex 07 (- specified) for reading the previous record.• Hex 08 (0 specified) for reading the current record.• Hex 09 (+ specified) for reading the next record.The current record number in the lOB is set to the record number that is to beread. The specified record is read from diskette and put into the logical I/O buffer.If formatting (fmt) is specified, data is formatted, moved from the logical I/Obuffer, and put into the storage indicated by the format.Object Code Instruction Format 169

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!