× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You may be able to use OPNQRYF too... to select only the records you want
to process.

Michael Schutte



                                                                           
             <Rick.Chevalier@a                                             
             mericredit.com>                                               
             Sent by:                                                   To 
             rpg400-l-bounces@         <rpg400-l@xxxxxxxxxxxx>             
             midrange.com                                               cc 
                                                                           
                                                                   Subject 
             07/06/2006 04:16          RE: Quick question for the RPG      
             PM                        Cycle experts (if there are any     
                                       left)                               
                                                                           
             Please respond to                                             
              RPG programming                                              
              on the AS400 /                                               
                  iSeries                                                  
             <rpg400-l@midrang                                             
                  e.com>                                                   
                                                                           
                                                                           





James,

Not within RPG.  Vincent's suggestion might work though.  Matching
records won't do it.  It still starts from the first record and reads
sequentially.

As I'm typing I remembered a file type we used in the S/34 and
occasionally on the S/36.  It's a record address type file IIRC.  You
create a record with from and to keys and the program only reads those
records from an associated data file.  I haven't used one in over 10
years and don't remember how to code it but it might be worth a look.

Rick

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of James H H Lampert
Sent: Thursday, July 06, 2006 2:46 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Quick question for the RPG Cycle experts (if there
are any left)

Is there a way to tell The Cycle to start its ride through
the primary file someplace other than the beginning?

--
JHHL

Privileged and Confidential.  This e-mail, and any attachments there to, is
intended only for use by the addressee(s) named herein and may contain
privileged or confidential information.  If you have received this e-mail
in error, please notify me immediately by a return e-mail and delete this
e-mail.  You are hereby notified that any dissemination, distribution or
copying of this e-mail and/or any attachments thereto, is strictly
prohibited.

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.