Has anyone had any experience in writing a CL to see how many entries are in a Data Queue ? We have a *dtaq called ETEST in QGPL and it is used as a queue to hold information about reports to e-mail to users. We have a CL that monitors this queue for new entries and then takes that information and uses our e-mail program to send out the report. I would like to write a seperate CL to tell me how many entries are in this queue(and in a perfect world what the entries contain) at any given time...by me just typing in a command on the green screen. I have seen many examples of data queue manipulation on the IBM site and discussions here....but nothing that would seem to help me out. Any guidance or assistance would be appreciated greatly, Thanks. Jim Norbut

Reply With Quote