Is there any way of retriving the opcion 5=Work with queue entries of the WRKDSTQ in a RPGLE program?
Announcement
Collapse
No announcement yet.
WRKDSTQ QUEUE 5=Work with queue entries
Collapse
X
-
Do you mean obtain the _results_ of using Option 5 within a program?
If so, not that I can think of. I see no sign of any new SQL capabilities in this area and I see no sign of APIs.
If all else fails you could use Albert York's TNAPI - which is an API that allows batch programs to run interactive commands and programs. I _think_ it has to run in batch - but I'm assuming that is what you want or you would simply call the command anyway. You can find the download here: http://www.albertyork.yolasite.com/samples.php
Comment