× 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.



One correction. If record is found, it then checks about 5 fields and if the fields are identical in both records, no update is performed. If they're not the same, the info from File1 is moved and written to File2.

Sorry...I gotta quit posting this late.




----- Original Message ----- From: "James R. Newman, CDP" <newman400@xxxxxxxxxxx>
To: "RPG List" <RPG400-L@xxxxxxxxxxxx>
Sent: Thursday, October 14, 2004 11:04 PM
Subject: Setting parms in CL for PF



I also posted this on Midrange-L but after thinking about it today it's really more of an RPG question...maybe.


I've got a 9406-600 running V5R2 and have to run a large update job about once a month. File1 is a sequential, non-keyed PF containing about 18 million records of updated "current" information. File2 is a keyed PF "master" with 18 million+ records that will be updated from File1. File2 has 1 logical. I'm reading a record in File1 and chaining to File2. If no record is found, it writes to File2. If record is found, it then checks about 5 fields and if the fields are identical in both records, no update is performed. If they're not the same, the info from File2 is moved and written to File1.


A friend suggested changing some of the OVRDBF parms to help processing go faster, such as FRCRATIO and NBRRCDS. Any suggestions on how to set these parms? For that matter, any suggestions on how to speed up the update process? TIA.


James R. Newman, CDP


-- 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.