|
Martin, This behavior is caused by blocked database reads, and is typical behavior for OPM RPG. You can either override your file to make sure you don't block your database reads, or you could convert this program to RPG IV which does not suffer this limitation. hth, Eric DeLong -----Original Message----- From: Saunders, Martin P [mailto:Martin.Saunders@capgemini.co.uk] Sent: Wednesday, April 25, 2001 4:29 AM To: 'RPG400-L@midrange.com' Subject: Problem processing Internally described file All, I am trying to test a program which processes records from an internally described file. The way it works is: 1. A logical using substrings and selections is used to obtain the rrn on the flat file of the required detail header record (from the infds of the logical). 2. This value is then used to position to the required record on the internally described file. Problem: The logical contains the required record but the rrn value returned is 5 whereas the rrn on the file is 1118 so it is reading record 5 instead of record 1118. I have only changed a couple of lines of code in this program and can only assume it is working fine in Live apart from the problem I am trying to fix which involves the processing of certain records from the file. I have not changed any of the file access functionality. Pgm is OPM RPG (400). Any help greatly appreciated. Martin +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.