IBM Support

IT30127: Windows MQ Trigger monitor produces many FDC records if console codepage is changed

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • A trigger monitor on Windows process a message and the triggered
    program changes the console CCSID to a value that is not
    supported by MQ, from this point on the trigger monitor produces
    a failure data capture (FDC) record with the following error
    codes;
    
    | Major Errorcode :- xecF_E_UNEXPECTED_RC
    |
    | Minor Errorcode :- xecX_E_TO_CCSID
    |
    | Probe Type :- MSGAMQ6118
    
    every time it handles a trigger message as it attempts and fails
    to convert an MQ message from the national language message
    catalogue for the console to the changed CCSID.
    

Local fix

  • Save and restore the console codepage in the triggered programs
    
    FOR /F "tokens=*" %%A IN ('CHCP') DO FOR %%B IN (%%~A) DO
    SET CodePage=%%B
    REM
    REM Do actual trigger processing here....
    REM
    CHCP %CodePage%
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users triggering batch files and programs on Windows where the
    trigger program may change the console codepage (for example by
    calling CHCP) are potentially affected.
    
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    A program that was invoked by the trigger monitor altered the
    console codepage.  This changed the codepage for the whole
    trigger monitor process, causing FFSTs to be generated by the
    trigger monitor when it attempted to convert messages from the
    MQ message catalogue into the current console codepage.
    

Problem conclusion

  • MQ has been altered to save the console codepage before calling
    a trigger program and then to restore it after.  This prevents a
    trigger program from changing the behaviour of the trigger
    monitor.
    
    Care should be taken when writing trigger programs to ensure
    that they do not adversely impact the environment of the trigger
    monitor.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v8.0       8.0.0.14
    v9.0 LTS   9.0.0.8
    v9.1 CD    9.1.4
    v9.1 LTS   9.1.0.4
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT30127

  • Reported component name

    IBM MQ BASE MP

  • Reported component ID

    5724H7251

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-08-29

  • Closed date

    2019-10-15

  • Last modified date

    2019-10-15

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

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

Fix information

  • Fixed component name

    IBM MQ BASE MP

  • Fixed component ID

    5724H7251

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.0.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2019