|
Jim, I tried to verify my guess on this subject but I do not have the needed reference book. I believe that you want to use an INFDS(file information data structure). From what I gather, it is used during error checking to determine what RRN the error occurred on. My guess is that you should be able to use the same type of data structure for your need. I hope this helps point you in the right direction. Bill Graziano Programmer Brambles Equipment Services, Inc. -----Original Message----- From: Jim Langston [mailto:jlangston@conexfreight.com] Sent: Wednesday, February 16, 2000 11:46 AM To: RPG400-L@midrange.com Subject: Record Number I am searching through a file for some strings, and I need to find out what the record numbers are. I am opening the file Input, Full Procedural, externally described, and as I understand it, this uses sequential processing, that is, record numbers. Once I find my string, how do I find out what record number I am actually on? Until I find out I am going to just increment a counter and hope it's right, but as we all know, deleted records mess this up. Thanks. Regards, Jim Langston +--- | 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-2025 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.