title: Setting MQ flags for reading segmented message with API exit
body: <p>I'm trying to set flags for seamlessly reading segmented message with GetBefore Exit call, like below:</p>
  
  <pre><code>(*ppGetMsgOpts)-&gt;Options = MQGMO_WAIT | MQGMO_LOGICAL_ORDER | MQGMO_ALL_SEGMENTS_AVAILABLE | MQGMO_COMPLETE_MSG | (*ppGetMsgOpts)-&gt;Options; 
  </code></pre>
  
  <p>It works perfectly well if I use rfhutil as reading client, the whole message is read at once, even if it was stored segmented. 
  But when I try to read with JMS client, it ends up with the following error code: </p>
  
  <pre><code>'2046' ('MQRC_OPTIONS_ERROR')
  </code></pre>
  
  <p>MQ log gives no clue, only tells about "internal error". </p>
  
  <p>Could it be possible at all to read such message with JMS client?
  Even if not, what could be a particular problem with options?</p>