API Enablement

Expand all | Collapse all

Please can you ship the source of the stock query application as it does not compile

  • 1.  Please can you ship the source of the stock query application as it does not compile

    IBM Champion
    Posted Tue September 15, 2020 12:17 PM
    "Prepare the sample IBM MQ stock query application"

    This has a couple of problems.
    1) If you use cut and paste it loses all of the indentation
    2) Lines like "+C"  and "request message." are not valid java.   The comments have wrapped onto new line - outside of the comment

    It would be less work for users if this was shipped as a sample

    thank you
    Colin


  • 2.  RE: Please can you ship the source of the stock query application as it does not compile

    Posted Tue September 22, 2020 03:37 AM
    Edited by Sue BAYLISS Tue September 22, 2020 03:38 AM

    Hi Colin, 

    Sorry, there was a typo on line 43 of the TwoWayBackend.java program in the product documentation, it should be:

    if (requestMessage == null) {

    We will fix that.


    Thank you for your suggestion to ship the sample java application, we will take this into consideration.

    FYI: When using the product Knowledge Centre documentation, Prepare the sample IBM MQ stock query application there is an icon to the right of the sample that allows you to copy code, preserving the line lengths etc. 

    Regards, Sue

    ------------------------------
    Sue Bayliss
    IBM z/OS Connect EE
    ------------------------------



  • 3.  RE: Please can you ship the source of the stock query application as it does not compile

    IBM Champion
    Posted Wed September 23, 2020 02:57 AM
    Sue,

    Thanks for your reply.

    Please bear in mind that if people are using the ISPF editor, they usually have
    a screen width, so a data width of 72. - and they can only paste about 20 lines at a time.

    My screen is 132 wide... but still only 24 lines deep.

    Having to cut and paste in this environment takes several goes. These sorts of problems feel like "snags", instead of an easy,smooth process, you have to stop, and do this extra work, so shipping it makes my life much easier.

    regards

    Colin