|
Record address file that's an oldie ... You have to specify an "L" for limits processing in the primary file and then code a record address file spec also. The record address file contains a record with the low and high key values you want to process. Each record (if multiples are needed) contains a single limit range. The low keys starts in position 1 and the high key follows immediately after the ending position of the low key. No intervening blanks. It is documented in the RPG Programmer's Guide. ---------------------- Scott A. Schollenberger Director, R&D TENEX Systems and ACE Software, divisions of Harris Computer Systems TENEX Systems 2011 Renaissance Blvd., Suite 100 King of Prussia, PA 19406 Phone: 610-239-9988 Ext. 305 Fax: 610-239-9995 E-mail: saschollenberger@xxxxxxxxxxxx Web: www.tenexsys.com IBM Certified Specialist - eServer i5 iSeries Technical Solutions Implementer V5R3 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and contains confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. <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 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.