IBM Support

PM29895: MQOD.objectname is not modified by MQOPEN when debugging EGL program

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    
     - Product name (Build ID or version/patch level):
    IBM Rational Business Developer v7.5.1.6
    
    Reproducible Y/N: Y
    
    Description of problem:
    
    
    When debugging an EGL program accessing a model queue on
    Webshere MQ, the MQOD.objectname is not modified with the
    dynamic queue created by the MQOPEN.
    It works with the generated COBOL code (so at runtime). It
    doesn't work in debug and Java generated code.
    
    
    Steps to reproduce:
    
    the following program
    
        function main()
            SysLib.writeStdout('Start');
    
            mqod_init(MQOD);
    
            MQOD.OBJECTNAME = 'MYMDLQ';
            MQOD.OBJECTQMGRNAME = 'QM_winxpsp2';
            MQOD.DYNAMICQNAME = 'QDYN1';
    
            mqrec.MSG = 'Hello MQ';
    
            MQCONN(MQSTATE, 'QM_winxpsp2');
            handleMQError(MQSTATE);
    
            MQSTATE.OPTIONS = 8; /* MQOO_BROWSE = 8*/
    
            MQOPEN(MQSTATE, MQOD);
            handleMQError(MQSTATE);
    
            MQSTATE.OPTIONS = 0; /* MQOO_NORMAL = 0*/
    
            MQCLOSE(MQSTATE);
    
            Syslib.writeStdout('REPLYTOQ : ' + MQOD.objectname);
    
            SysLib.writeStdout('End');
        end
    
    gives the following output:
    
    Start
    MQ-error: mqconn  00000
    
    MQ-error: mqopen  00000
    
    REPLYTOQ : MYMDLQ
    End
    
    MYMDLQ should have been replaced by a temporary queue name.
    
    
    Workaround:
    None
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In EGL Java and Debug, after MQOPEN is called the
    MQOD.objectname is not set to the name of the dynamic queue
    that was created.
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM29895

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-05

  • Closed date

    2011-05-06

  • Last modified date

    2011-05-06

  • 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

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R751 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
06 May 2011