Support This Project Get i5/OS Programmer's Toolkit at Fast, secure and Free Open Source software downloads

CL Command ENQUSRQ (Enqueue User Queue)

Go back to main page of i5/OS Programmer's Toolkit.

The CL command ENQUSRQ enqueues an entry to a user queue object. The queue can be both keyed or FIFO/LIFO.

Usage Examples

To enqueue a FIFO/LIFO user queue
ENQUSRQ Q(Q_LIB/Q_NAME) KEY(*none) MSG('message data') MSGLEN(nn)
  /* nn: length of message data to enqueue */

To enqueue a keyed user queue

ENQUSRQ Q(Q_LIB/Q_NAME) KEY(mm) MSG('message data') MSGLEN(nn)
  /* mm: length of key data to enqueue */
  /* nn: length of message data to enqueue */


Support This Project
Generated on Mon Aug 1 22:50:21 2011 for i5/OS Programmer's Toolkit: Queue Tools by  doxygen 1.5.9