IBM Support

PI06152: THE MESSAGE IS RETURNED IN THE CCSID OF THE QUEUE-MANAGER

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The message is sometimes returned in CCSID 1047 and sometimes in
    1399.The application's native CCSID is 1047, and as such the
    message should always be returned in this CCSID. If the MQGET is
    issued and there are already messages on the queue, then the
    message is returned in 1047 as expected. However, if the MQGET
    is issued and there are no messages on the queue and MQGMO_WAIT
    is specified then if a message is made available before the
    get-wait interval expires it will be returned to the application
    in the CCSID of the queue-manager, in this case 1399.
    

Local fix

  • use MQGMO_CONVERT
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of WebSphere MQ for z/OS Version 7 *
    *                 Release 0 Modification 1 and Release 1       *
    *                 Modification 0.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Applications doing an MQGET with wait   *
    *                      for messages with an RFH2 header may    *
    *                      be given the queue manager's CCSID if   *
    *                      the messages arrived during the wait    *
    *                      interval.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An application issues an MQGET with MQGMO_WAIT and no convert on
    an empty queue.
    CSQBSRV calls CSQAPRH to perform the API call and on return the
    qrpl.lQmgrCCSID has been set to the queue manager's CCSID.
    When an RFH2 message arrives on the queue within the wait
    interval CSQBSRV issues a new call to CSQAPRH, however the
    qrpl.lApplCCSID, being the same field as qrpl.lQmgrCCSID,
    now has the queue manager's CCSID.
    CSQMHDRS thus sets the MQMD.CODEDCHARSETID to the queue
    manager's CCSID instead of the application's CCSID as provided
    in the BLOA. This is incorrect, and is different to the case
    where there is already a message on the queue, in which case
    the application's CCSID is always set in the MQMD.
    

Problem conclusion

  • CSQBSRV has been changed so that the qrpl.lApplCCSID is set to
    the BLOA.APPL_CCSID on each call to CSQAPRH.
    010Y
    100Y
    CSQBSRV
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI06152

  • Reported component name

    WMQ Z/OS V7

  • Reported component ID

    5655R3600

  • Reported release

    010

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-11-13

  • Closed date

    2014-01-29

  • Last modified date

    2014-04-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UI14628 UI14629

Modules/Macros

  • CSQBSRV
    

Fix information

  • Fixed component name

    WMQ Z/OS V7

  • Fixed component ID

    5655R3600

Applicable component levels

  • R010 PSY UI14628

       UP14/03/04 P F403

  • R100 PSY UI14629

       UP14/03/04 P F403

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 April 2014