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



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/



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.