AS/400 Adapter 6.0.1 | webMethods AS/400 Adapter Documentation | webMethods AS/400 Adapter Installation and User’s Documentation | Built-in Services | Access Services | wm.as400.access:createDataQ
 
wm.as400.access:createDataQ
Creates a sequential or keyed data queue on the iSeries server. If the field keyLength is equal to zero then a sequential data queue is created else a keyed data queue is created.
Input Parameters
$AS400Alias
String The connection alias of the AS/400 server.
$AS400
com.ibm.as400.access.AS400 Optional. A connected AS/400 object.
Note:
Either $AS400 or $AS400Aliasshould be provided as an input.
QName
String The name of the data queue. The queue name must be 1 to 10 characters.
Example:
MYQUEUE
Note:
Use the libraryName field to specify the Queue library or use the fully qualified integrated file system path name of the data queue.
Example:
/QSYS.LIB/myLibrary.LIB/MYQUEUE.DTAQ
libraryName
String Optional. The library in which the data queue exists. It must be 1 to 10 characters.
Note:
Use this field only if the QName does not contain the fully qualified integrated file system path name for the data queue.
If you specify libraryName as %ALIAS_CURLIB%, then the library name specified as the current library while configuring the connection alias is used.
Note:
You cannot specify %ALIAS_CURLIB% if the field $AS400Alias is empty.
keyLength
String The length of the key field. In case of simple data queue type 0. Valid values are 0 to 256.
maxEntryLength
String The maximum number of bytes per data queue entry. Valid values are 1 to 64512. Default: 1000.
authority
String The public authority for the data queue. Valid values are *ALL, *CHANGE, *EXCLUDE, *USE, *LIBCRTAUT.
saveSenderInformation
String Set to true if the entry origin information are to be saved, else set to false.
FIFO
String Set to true if the queue entries are to be processed in the FIFO order. Set to false if the queue entries are to be processed in the LIFO order.
forceToAuxiliaryStorage
String If this value is true, the writeDataQ operation writes an entry to the data queue before return.
description
String The text description of the data queue. This string must be 50 characters or less.
Output Parameters
success
String The status of the command. Contains true if the data queue is successfully created, else contains false.
Examples
wm.as400.sample.simpleDQ:createDQ
wm.as400.sample.keyedDQ:createKeyDQ