Submitted by Anonymous (not verified) on Fri, 07/25/2008 - 00:00
Forums

Any know where I can get some code that will go through libraries and report files with deleted records?

I could re-invent in the wheel, but thought I'd check to see if someone could help save time.

tomholden

Fri, 07/25/2008 - 00:00

just write a quick CL :

 

DSPFD *ALLUSR/*ALL TYPE(*MBR) OUTPUT(*OUTFILE) OUTFILE(mylib/myfile)

 

then you can run a query over the file selecting where MBNDTR <> 0

Experience has it's benefits...unfortunately by the time you acquire it you've forgotten what you needed it for -Tommy Holden