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

Syntax

3

3
Read syntax diagramSkip visual syntax diagram3>>-MQSUBSCRIBE--(--+----------------------------------------+--->
3                   '-subscriber_name--,--+----------------+-'
3                                         '-policy_name--,-'
3 
3>--topic--)----------------------------------------------------><
3 
3 3
3
subscriber_name
3
Optional parameter. Refers to the value in the pubsubname column 3of the "informix".mqiservice table. If subscriber_name is 3not specified, IDS.DEFAULT.SUBSCRIBER is used as the subscriber. 3The maximum size of subscriber_name is 48 3bytes. 3
3
policy_name
3
Optional parameter. Refers to the value in the policyname column 3of the "informix".mqipolicy table. If policy_name is 3not specified, IDS.DEFAULT.PUB.SUB.POLICY is used as the policy. 3The maximum size of policy_name is 48 bytes. 3
3
topic
3
Required parameter. A string containing the topic for the 3message publication. The maximum size of a topic is 40 bytes. Multiple 3topics can be specified in one string (up to 40 characters long). 3Each topic must be separated by a colon. For example, "t1:t2:the 3third topic" indicates that the message is associated with all three 3topics: t1, t2, and the third topic. If no topic is specified, none 3are associated with the message. 3
3
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]