|
Jim, this worked for me: FAPDUE IF E DISK FAPDUE1 IF E K DISK INFDS(DB1) F RENAME(RAPDUE:RAPDUE1) FAPDUE2 IF E K DISK INFDS(DB2) F RENAME(RAPDUE:RAPDUE2) FAPDUE3 IF E K DISK INFDS(DB3) F RENAME(RAPDUE:RAPDUE3) D DB1 DS D DB1RRN 397 400B 0 D DB2 DS D DB2RRN 397 400B 0 D DB3 DS D DB3RRN 397 400B 0 Then, on the subfile I put DB_RRN into a hidden field and could show file 1, 2, or 3 in the subfile, depending on which file the user requested, and then when a user selected a subfile item I could READS and chain to the unindexed physical file with RRN for updates. -----Original Message----- From: Jim Langston [mailto:jlangston@conexfreight.com] Sent: Wednesday, February 16, 2000 11:46 AM To: boothm@goddard.edu 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-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.