want to know the data queue created or not, before receive the data queue in RPGLE
Posted on 2010-01-03
In my RPGLE, First step i need to send data to debit server program this will be running in batch as a background process, in this data queue will be created and the necessary data will be sent to the data queue using QSNDDTAQ.
Second step i will be displaying the popup till i get response from the batch process(through data queue), so i need to know whether the dtaq created in the batch process or not, to receive the dtaq, so i want to check the whether the data queue object created or not.
Call Debit server program
Call Display popup
Debit server program:(Batch process)
Sending request to another application
Got the response
create the dtaq
qsnddtaq the response to the display popup pgm.
Display popup pgm:
Display the popup with invite keyword
it has to receive the response through the data queue, so i need to know whether the data queue created in the batch process, before start doing QRCVDTAQ.