Before using a data queue, you must first create it using the Create Data Queue (CRTDTAQ) command.
The following is an example:
CRTDTAQ DTAQ(MYLIB/INPUT) MAXLEN(128) TEXT('Sample data queue')
The required MAXLEN parameter specifies the maximum length (1 to 64,512 characters) of the entries that are sent to the data queue.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.