How can I display the entries of a DataQueue? I remember using (at my previous client site) DSPDTAQ command to list the entries or records from a DataQ. Is there anyway I can reconstruct this command?
There are utilities to do this, such as the one included in TAATOOLS by Jim Sloan. If you don't have a licensed copy of TAATOOLS, then writing your own might be the ticket. The more recent versions that I have used are built around the new API QMHRDQM. This API will allow you to retrieve multiple Data Queue Entries without removing the entry. If I was going to build another utility, I would use this API.