|
if you are trying to sync up two file, the best route is to use trigger. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of James R. Newman, CDP Sent: Thursday, October 14, 2004 11:08 PM To: RPG programming on the AS400 / iSeries Subject: Setting parms in CL for PF - correction 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. > > -- 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-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.