55 pts.
 Reading multiple records from dataQ
Can we read multiple records from dataQ.How the processing is done.Please assist.
ASKED: Feb 7, 2012  11:39 AM GMT
UPDATED: March 17, 2012  1:53:06 AM GMT
66,925 pts.

Answer Wiki:
Last Wiki Answer Submitted:  Mar 17, 2012  1:52 AM (GMT)  by  TomLiotta   66,925 pts.
Latest Answer Wiki Contributors:  Rebek4love   3,500 pts., MTidmarsh   145 pts., Glory35   4,765 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _




 

Use RCVDATQ to take one entry from the data queue.
Plenty of web links
http://publib.boulder.ibm.com/infocenter/iadthelp/v7r5/index.jsp?topic=/com.ibm.etools.iseries.toolbox.doc/dtaq.htm

http://publib.boulder.ibm.com/infocenter/iadthelp/v7r5/index.jsp?topic=/com.ibm.etools.iseries.toolbox.doc/dtaq.htm

Phil

 36,410 pts.

 

Can we read multiple records from dataQ.How the processing is done.

You call the Receive Data Queue (QRCVDTAQ) API to receive a message from a data queue.

Each time you call the API, you will receive one more message from the queue.

So, if you want to receive multiple messages, you will call the API multiple times.

Tom

 66,925 pts.

 

Thanks Tom

 55 pts.