IBM
C2180-374 · Question #89
An application receives messages from a queue APPQ using MQGET. Which MQSC command will successfully configure the queue manager so that the application can receive messages published to topic…
The correct answer is A. DEFINE SUB(TO_APP) TOPICSTR(Stock/IBM/Price) + DEST(APPQ). See the full explanation below for the reasoning.
Question
An application receives messages from a queue APPQ using MQGET. Which MQSC command will successfully configure the queue manager so that the application can receive messages published to topic Stock/IBM/Price?
Options
- ADEFINE SUB(TO_APP) TOPICSTR(Stock/IBM/Price) + DEST(APPQ)
- BDEFINE SUB(TO_APP) TOPICSTR(Stock/IBM/Price) + DESTQ(APPQ)
- CDEFINE SUB(TO_APP) TOPICSTR(Stock/IBM/Price) + TARGET(APPQ)
- DDEFINE SUB(TO_APP) TOPIC(Stock/IBM/Price) + DEST(APPQ)
How the community answered
(39 responses)- A72% (28)
- B3% (1)
- C10% (4)
- D15% (6)
Community Discussion
No community discussion yet for this question.