Adapter for IBM Power 10.11 | Built-In Services | pub.ibmp:createDataQueue
 
pub.ibmp:createDataQueue
Creates a sequential or keyed dataqueue in the IBM Power system.
Input Parameters
Parameter Name
Description
$connectionAlias
String. Required. Fully qualified connection name of the IBM Power system.
queueName
String. Required. Name of the dataqueue. The dataqueue name must be 1 to 10 characters. For example, MYQUEUE.
libraryName
String. Required. Library in which the dataqueue must be created. The libraryName must be 1 to 10 characters.
queueType
String. Required. Dataqueue type. Possible values are:
*FIFO. Processes records in a sequential order of First In, First Out (FIFO) in the dataqueue.
*LIFO. Processes records in a sequential order of Last In, First Out (LIFO) in the dataqueue.
*Keyed. Processes records as a key-value pair in the dataqueue.
keyLength
String. Optional. Length of the key in bytes if the queueType is Keyed. Valid values are 1 to 256.
maxEntryLength
String. Required. Maximum number of bytes per dataqueue entry. Valid values are 1 to 64512.
authority
String. Required. Public authority for the dataqueue. Valid values are *ALL, *CHANGE, *EXCLUDE, *USE, *LIBCRTAUT.
saveSenderInformation
String. Optional. Default value is false. Set to true if the sender (origin) information of the records must be saved.
forceToAuxiliaryStorage
String. Optional. Default value is false. Set the value to true to immediately write the records to a permanent storage. Set the value to false to keep the records to write in memory, which could be lost in the case of a power outage.
description
String. Required. Text description of the dataqueue. String must be 50 characters or less.
Output Parameters
Parameter Name
Description
success
String. Status of the service execution. Returns true if the dataqueue is successfully created, else returns false.
error
String. Error message if the dataqueue creation fails.