What is the behavior of READ PREVIOUS after START or on AT END? |
After a START statement READ PREVIOUS reads the current record (i.e. the record whose key value is equal to the file position indicator).
On an AT END condition READ PREVIOUS returns the last record in the file.
Note that starting in isCOBOL 2009 SP2 (build 546.13) the behavior of READ PREVIOUS when using JISAM was changed to match that of other leading COBOL and ISAM indexed file system implementations.
In isCOBOL 2009 SP1 and earlier versions the behavior of READ PREVIOUS when using JISAM matched that of Informix C-ISAM (i.e. calling isread with the ISPREV mode causes C-ISAM to read the record with the key preceding the one that isstart found).
|
Authored
by: Veryant Support
This question has been viewed 5360 times so far.
|
Click
Here to View all the questions in JISAM
category. |
File Attachments |
There are no attachment file(s) related to this question. |
|
User Comments |
|
|
There are no user comments for this question. Be the first to post a comment. Click Here |
Related Questions
|
- Does JISAM encrypt data?
- What is the maximum size of a JISAM file?
|