|
Vern.. The problem with writing to the deleted records to consume them is that unique keyed files will prevent you from doing so. Ken Slaugh (707) 795-1512 x118 Chouinard & Myhre, Inc. CA/400 Certified Specialist iSeries Network/MSE Administrator http://www.cm-inc.com/ Vern Hamberg <vhamberg@xxxxxxxxxxxxxxx To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> nology.com> cc: Sent by: Subject: Re: INZPFM replacement ??? midrange-l-bounces@xxxxxx ge.com 05/27/2003 03:38 PM Please respond to Midrange Systems Technical Discussion Probably not directly. The delete status bit is in a part of the record not available to mortals. But how about writing new records, then checking the INFDS for RRN just added (or however you can do this), then delete by RRN. The delete ought to be fast, as it is only changing the value of a single bit in the header of the record. Regards Vern At 01:38 PM 5/27/2003 -0700, you wrote: >I submitted this to the RPG group and haven't had much success other >starting a discussion about the INZPFM command itself... > >Maybe some cleaver Midrange-L guru can help with an INZPFM replacement. >Here's the post: >---------------------------------------------------------- >INZPFM creates records in a physical file member. It can create deleted >records. Can RPG create deleted records? > >The WRITE opcode and RECNO are used to write to a particular deleted record >but this technique can NOT append records beyond the extent of the file. >Another issue with INZPFM is that it requires a dedicated file to avoid >LCKW situations. > >TIA, > >Ken Slaugh (707) 795-1512 x118 >Chouinard & Myhre, Inc. >CA/400 Certified Specialist >iSeries Network/MSE Administrator >http://www.cm-inc.com/ _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-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.