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



Oliver

I don't think you need a RGZPFM. The CLRPFM gets rid of deleted records, too, and is quite fast.

Order of things could be

CHGLF EACHLOGICAL MAINT(*DLY) or whatever is the setting
CPYF VROIRSPL TEMPFILE MBROPT(*REPLACE) using field selection of VLCIND *LE 000101
CPYF VROIRSPL TEMPFILE MBROPT(*ADD) using field selection of VLCIND *GE 020901
CLRPFM VROIRSPL
CPYF TEMPFILE VROIRSPL
CHGLF EACHLOGICAL MAINT(*IMMED)

No RGZPFM needed, unless you want to match the record order with a logical file.

HTH, but check details on parameters - this is from memory.

Vern

At 07:49 PM 2/10/03 +0100, you wrote:
Vern,
-snip-

we only run this SQL every other year or so.. And luckily, weekends are free for this kind
of stuff.

I was just a little surprised about the long runtime.

How long will the RGZPFM take?

Regards,

Oliver






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.