Home | Previous Page | Next Page   MQ DataBlade Module > MQ DataBlade Functions > MQReadClob() > 3 3 3

Usage

3

The MQReadClob() function returns 3a message as a CLOB from the WMQ location specified by service_name, 3using the quality-of-service policy defined in policy_name. This 3function does not remove the message from the queue associated with service_name. 3If correl_id is specified, then the first 3message with a matching correlation ID is returned. If correl_id is 3not specified, then the message at the head of the queue is returned. 3The result of this functions is a CLOB type. If no messages are available 3to be returned, this function returns NULL. This function only reads committed 3messages.

3

The following table describes how the arguments for the MQReadClob() function 3are interpreted. 3

3 333333333333333333333333333
Table 11. MQReadClob() argument interpretation
Usage Argument Interpretation
MQReadClob() No arguments
MQReadClob(arg1) arg1 = service_name
MQReadClob(arg1, arg2) 3
arg1 = service_name
3arg2 = policy_name
3
MQReadClob(arg1, arg2, arg3) 3
arg1 = service_name
3arg2 = policy_name
3arg3 = correl_id
3
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]