support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets

Veryant Knowledge Base
Home > All Categories > Data Access > JISAM > What is the behavior of READ PREVIOUS after START or on AT END?
Question Title 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 3743 times so far.
Click Here to View all the questions in JISAM category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. What are the differences between isCOBOL ISAM Server (c-treeACE) and JISAM?
  2. Does JISAM encrypt data?
  3. What is the maximum size of a JISAM file?
Article Information Additional Information
Article Number: 152
Created: 2010-10-26 3:29 PM
Rating: No Rating
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
Search Knowledge Base Search Knowledge Base


© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.