I understand that a Data Queue is an efficient way to monitor an output queue. Using QRCVDTAQ will allow the program to "sleep" until a new spool file appears on the output queue or if a spool file in the output queue changes from HLD to RDY.
However what about the RDY spool files that are already in the output queue when the program, that issues the call to QRCVDTAQ, starts?
It seems like that program will never find out about those spool files unless their status is changed from HLD to RDY.
Is there a way, other than a call to QUSLSPL, for the output queue monitoring porogram to find out about RDY spool files that are already in the output queue when it starts?