Multiple choice technology platforms and products

Which calls are not mandatory to be executed before an MQPUT call has to be executed?

  1. MQOPEN

  2. MQCLOSE

  3. MQCONN

  4. MQPUT1

Reveal answer Fill a bubble to check yourself
B,D Correct answer
Explanation

Before calling MQPUT, you MUST establish a connection (MQCONN) and open the queue (MQOPEN). These are prerequisites. However, MQCLOSE is called AFTER operations complete, not before, and MQPUT1 is an alternative single-call API that doesn't need to precede MQPUT. Therefore, MQCLOSE and MQPUT1 are not mandatory pre-conditions for MQPUT.