|
Hello Ken,
You wrote:
>Can RPG extend the physical file defined with REUSEDLT(*YES) even though
>deleted records exist?
I don't see why not.
>Extending the file with a WRITE statement may not be doing what we think it
>is. That is, using all the deleted records before extending the number of
>records.
The deleted record map used by the program is created when a file is opened.
Only those deleted records that existed when the file was opened are avaiable
for reuse. If some other job deletes a heap of records the empty slots will not
be visible to any jobs which have the file open.
Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software AS/400 Technical Specialists
http://www.flybynight.com.au/
Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\
Fax: +61 3 9419 0175 mailto: shc@xxxxxxxxxxxxxxxxx \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------
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.