Work with data queues

You can work with data queues by using iSeries™ CL commands or callable programming interfaces. Access to data queues is available to all iSeries applications regardless of the programming language in which the application is written.

Use the following iSeries system interfaces to work with data queues:

i5/OS™ commands:

CRTDTAQ
Creates a data queue and stores it in a specified library
DLTDTAQ
Deletes the specified data queue from the system

i5/OS 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