IBM
C2180-374 · Question #152
An administrator has been asked to create a listener that listens on port 1416 and starts automatically when the queue manager is started. Which of the following MQSC commands will create the…
The correct answer is B. DEFINE LISTENER(LISTENER.TCP) TRPTYPE(TCP) PORT(1416)+ CONTROL(QMGR). See the full explanation below for the reasoning.
Question
An administrator has been asked to create a listener that listens on port 1416 and starts automatically when the queue manager is started. Which of the following MQSC commands will create the listener?
Options
- ADEFINE LISTENER(LISTENER.TCP) TRPTYPE(TCP) PORT(1416)+ QMGR REPLACE
- BDEFINE LISTENER(LISTENER.TCP) TRPTYPE(TCP) PORT(1416)+ CONTROL(QMGR)
- CDEFINE LISTENER(LISTENER.TCP(1416)) TRPTYPE(TCP) + CONTROL(QMGR) REPLACE
- DDEFINE LISTENER(LISTENER.TCP) TRPTYPE(TCP(1416)) + START(QMGR) REPLACE
How the community answered
(32 responses)- A6% (2)
- B84% (27)
- C3% (1)
- D6% (2)
Community Discussion
No community discussion yet for this question.