Work with data queues
You can work with data queues by using IBM i CL commands or callable programming interfaces. Access to data queues is available to all IBM i applications regardless of the programming language in which the application is written.
Use the following IBM i interfaces to work with data queues:
IBM i commands:
- CRTDTAQ
- Creates a data queue and stores it in a specified library
- DLTDTAQ
- Deletes the specified data queue from the system
IBM i application programming interfaces:
- QSNDDTAQ
- Send a message (record) to the specified data queue
- QRCVDTAQ
- Read a message (record) to the specified data queue
- QCLRDTAQ
- Clear all messages from the specified data queue
- QMHQRDQD
- Retrieve a data queue description
- QMHRDQM
- Retrieve an entry from a data queue without removing the entry