Download AMOS ISAM System
Transcript
USING ISAM PROM THE ASSEMBLY LANGUAGE LEVEL Page 5—9 If the fiLe contains a key of all zero, the initial .IREDR will succeed and record should be processed as the first record before doing any .SREDRs. When the file is initially opened by .IOPNR, it is set up so that .SREDR gets the first key, unless the first key is all zero. Therefore it is almost always possible to open the file and read it sequentially. keys are expected to be ASCII, and an all—null key is not very sensible,Since the various utilities assume that the first key is not zero. When the end of the file is reached by the last .SREDR, the end—of—file (IS.EOF) completion that code is returned. 5.13.1 CalLing Sequence Parameters: Returns: Ri File pair number (FPN) of desired index R5 User memory pointer CALL .SREDR(Rn) RO Completion code Ri Low—order relative record number of data record R2 Indicators High—order relative record number of the data record z if no error