this is one of those rare occasions, where i ask “what’s in it for me?”
there is a not simple, but certainly not unobtainable solution to this, but it’s not one i’d give away.
p.s. if you start looking at the DSPFD command, maybe to an *OUTFILE, then used Query to run reports over this, wrapped in a CL program, you’d have an answer that you found all by yourself.
darn! there i go being nice again!!!!!!!!!