Creating data queues associated with an output queue

You can associate a data queue with an output queue so that when a spooled file on the output queue goes to a ready (RDY) status, an entry is sent to the data queue.

To view the layout or content of the data queue entry that is sent, see Record type 01 data queue entry format.

To associate the data queue and output queue, use the Create Data Queue (CRTDTAQ) command to create the data queue. Specify the maximum message length (MAXLEN) parameter value as at least 128. The sequence (SEQ) parameter value is *FIFO or *LIFO. Then, on the DTAQ keyword of the Create Output Queue (CRTOUTQ) command or the Change Output Queue (CHGOUTQ) command, specify the data queue that is created with the CRTDTAQ command.