Introduction of Data Queue - DTAQ in IBM i (AS400) | yusy4code
Vložit
- čas přidán 12. 07. 2018
- This video explains the concept of DTAQ (Data Queue) in IBM i AS400. It covers,
1. How to create DTAQ using CRTDTAQ
2. How to send data into DTAQ using QSNDDTAQ
3. How to receive data from DTAQ using QRCVDTAQ
All reference including my code is available in my GitHub
github.com/yusy4code/ibm-i_pr... - Věda a technologie
Get the code and reference link from my GitHub page below
github.com/yusy4code/ibm-i_programming/tree/master/RPGLE/Data_Queue
Nice to see DataQ's again. I started putting them to use way back in the 90's to receive and process (live) barcode reader data coming from a Siemens PLC. Thanks for reminding me of those good old times :)
Salam Yusuf, very well explained. Thanks a bunch
Very useful 👍🏻 thanks! Regards from Colombia 🇨🇴
thanks! Regards from Argentina!!
You are the best!!! 👍👍👍👍👍
hi Mohammed, your videos are very useful, also requesting you to make videos on as400 interview questions for experienced and beginners
Hi Yusuf, is there any video available for as400 handler?
How it helps to sequentially send data and receive data? How is it different from message queues? Is it the fastest queue?
While creating the DTAQ you can define whether you need to retrieve the data in LIFO or FIFO, so based on this property the message sequence is maintained. Comparing to MQ, MQ can do more stuff. We can use MQ to send/receive data from other IBMi (or even other JAVA application). But DTAQ can be used to send/receive message within different programs.
can you please let me know how to check which job is using a particulat data queue at the moment because in a situation i see data in data queue using taatool library, but wrkobjlck doesn't displays any job name
Ya, TAATOOL comes with some handy tool to work with DTAQ. But unfortunately it was not available in PUB400 so didn't talk about it. Regarding your other question, let me have a look and get back, if we can find which job using which DTAQ.
Hi Yusuf, can you please provide an real-time example for DTAQ.
There are many. Any application that required real time processing along with message sequence is important then DTAQ serves the purpose. Eg if order processing is needed then the order details can come via DTAQ and the program can read the order details from queue and do the business logic. Here the processing will be real time and order sequence will be maintained.
Hi bro ,
Currently Mocha and Pub 400 are not working. I am unable to practice. Please suggest how to practice. Is there any other way? Let me know.
Thanks
PUB400 is working. I am using daily. You cannot have your own user profile now, but you can login with one of the common user profile they offer. For more details, check out my other video "pub400 in 2018"
@@yusy4code CAN I PRACTICE THIS WITH PUB400? BECAUSE YOU ARE USING A IP DIFERENT...
What are APIs in this context?
API - Application Program Interface. API in the context of DTAQ is, IBM has given you ready made program (API) which we are using to send/receive data into DTAQ.