ISMSEQUENTIALREAD reads the record specified by the current record pointer. The current record pointer is then updated to point to the next record in the file.
The ISMSEQUENTIALREAD procedure requires the following parameters to return a sequential READ result:
ISMSEQUENTIALREAD (ISAMFILE, RECORD)
-
ISAMFILE—The user's file.
-
RECORD—The user's record area.
The sequential read result values are listed as follows:
Field |
Value |
Result [26:10] |
Mnemonic |
Meaning |
---|---|---|---|---|
[0:1] |
0 |
|
|
No errors |
|
1 |
100 |
DIFFERENTLENGTHRECORD |
This record length is not the same as the record length of the file. |
[9:1] |
1 |
46 |
ENDOFFILE |
End of file. Bit 0 is also equal to 1. |