Thanks for the update. I had already done both of those. the sample code in SYS1.SAMPLIB is simply that - a sample. I was hoping to find someone that had previously written this, so I didn't have to reinvent it. I did it eons ago, but didn't save a copy like I should have.
Joined: 30 Nov 2013 Posts: 780 Location: The Universe
This is a HELP forum, not a DO MY WORK FOR ME forum. Use the examples in SYS1.SAMPLIB, alter them to extract the data you need and try running them. If you run into trouble, post what you have done - perhaps with a description of the difficulty you are having. If you're lucky, someone may be able to diagnose the trouble you're having and possibly even describe a correction for you.
Thanks for all the kind words. I wasn't asking for someone to totally code this for me as a "DO MY WORK FOR ME" project. I was only asking if someone already had done this so I could use it. Anyway, I have already finished it and it is working fine.