The easiest to to use the OUTFILE parameter on the SAV* commands to output to a file. The file can then be “queried” using CPYF, DSPPFM, STRSQL, or 3rd party utility. Keep in mind, as you expire volumes, you’ll want to also delete the information in this file. I didnot provide you a lot of details, but the concepts should work. All this can be accomplished using the commands provided with OS/400, i5/OS.