eg.dltsplf qsecofr fromdate(010602) todate(140702)
There are some third-party utilities available that will accomplish this task for you. The AS/400 Web site has a utility called CLNOUTQ. You can find and download it from their Web site. It works well. I use it myself. However, if you are good at working with APIs, you can investigate which APIs you could call in a program to get the date of the spool file.
This was first published in August 2002